diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile
index 53dad04..083a712 100644
--- a/.devcontainer/Dockerfile
+++ b/.devcontainer/Dockerfile
@@ -21,7 +21,7 @@ RUN apt-get update \
&& apt-get -y install --no-install-recommends apt-utils dialog 2>&1 \
#
# install git iproute2, procps, lsb-release (useful for CLI installs)
- && apt-get -y install git iproute2 procps iproute2 lsb-release \
+ && apt-get -y install git openssh-client less iproute2 procps iproute2 lsb-release \
#
# Install xdebug
&& yes | pecl install xdebug \
@@ -44,4 +44,3 @@ RUN apt-get update \
# Switch back to dialog for any ad-hoc use of apt-get
ENV DEBIAN_FRONTEND=dialog
-
diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json
index 3f9cce6..fbaac5d 100644
--- a/.devcontainer/devcontainer.json
+++ b/.devcontainer/devcontainer.json
@@ -3,24 +3,23 @@
"dockerFile": "Dockerfile",
// Use 'settings' to set *default* container specific settings.json values on container create.
- // You can edit these settings after create using File > Preferences > Settings > Remote.
"settings": {
"terminal.integrated.shell.linux": "/bin/bash"
},
- // Use 'appPort' to create a container with published ports. If the port isn't working, be sure
- // your server accepts connections from all interfaces (0.0.0.0 or '*'), not just localhost.
- // "appPort": [],
-
- // Uncomment the next line to run commands after the container is created.
- // "postCreateCommand": "php -v",
-
- // Comment out if you want to use root
- "remoteUser": "vscode",
-
// Add the IDs of extensions you want installed when the container is created in the array below.
"extensions": [
"felixfbecker.php-debug",
"felixfbecker.php-intellisense"
- ]
+ ],
+
+ // Use 'forwardPorts' to make a list of ports inside the container available locally.
+ // "forwardPorts": [],
+
+ // Use 'postCreateCommand' to run commands after the container is created.
+ // "postCreateCommand": "php -v",
+
+ // Comment out if you want to use root
+ "remoteUser": "vscode"
+
}
diff --git a/README.md b/README.md
index 631bec3..488af7e 100644
--- a/README.md
+++ b/README.md
@@ -10,18 +10,18 @@ Follow these steps to open this sample in a container:
1. If this is your first time using a development container, please follow the [getting started steps](https://aka.ms/vscode-remote/containers/getting-started).
-2. To use this repository, you can either open a locally cloned copy of the code:
-
- - Clone this repository to your local filesystem.
- - Press F1 and select the **Remote-Containers: Open Folder in Container...** command.
- - Select the cloned copy of this folder, wait for the container to start, and try things out!
-
- Or open the repository in an isolated Docker volume:
+2. To use this repository, you can either open the repository in an isolated Docker volume:
- Press F1 and select the **Remote-Containers: Try a Sample...** command.
- Choose the "PHP" sample, wait for the container to start and try things out!
> **Note:** Under the hood, this will use **Remote-Containers: Open Repository in Container...** command to clone the source code in a Docker volume instead of the local filesystem.
+ Or open a locally cloned copy of the code:
+
+ - Clone this repository to your local filesystem.
+ - Press F1 and select the **Remote-Containers: Open Folder in Container...** command.
+ - Select the cloned copy of this folder, wait for the container to start, and try things out!
+
## Things to try
Once you have this sample opened in a container, you'll be able to work with it like you would locally.