Update with latest definition
This commit is contained in:
@@ -21,7 +21,7 @@ RUN apt-get update \
|
|||||||
&& apt-get -y install --no-install-recommends apt-utils dialog 2>&1 \
|
&& apt-get -y install --no-install-recommends apt-utils dialog 2>&1 \
|
||||||
#
|
#
|
||||||
# install git iproute2, procps, lsb-release (useful for CLI installs)
|
# 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
|
# Install xdebug
|
||||||
&& yes | pecl 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
|
# Switch back to dialog for any ad-hoc use of apt-get
|
||||||
ENV DEBIAN_FRONTEND=dialog
|
ENV DEBIAN_FRONTEND=dialog
|
||||||
|
|
||||||
|
|||||||
@@ -3,24 +3,23 @@
|
|||||||
"dockerFile": "Dockerfile",
|
"dockerFile": "Dockerfile",
|
||||||
|
|
||||||
// Use 'settings' to set *default* container specific settings.json values on container create.
|
// 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": {
|
"settings": {
|
||||||
"terminal.integrated.shell.linux": "/bin/bash"
|
"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.
|
// Add the IDs of extensions you want installed when the container is created in the array below.
|
||||||
"extensions": [
|
"extensions": [
|
||||||
"felixfbecker.php-debug",
|
"felixfbecker.php-debug",
|
||||||
"felixfbecker.php-intellisense"
|
"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"
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
14
README.md
14
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).
|
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:
|
2. To use this repository, you can either open the repository in an isolated Docker volume:
|
||||||
|
|
||||||
- Clone this repository to your local filesystem.
|
|
||||||
- Press <kbd>F1</kbd> 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:
|
|
||||||
|
|
||||||
- Press <kbd>F1</kbd> and select the **Remote-Containers: Try a Sample...** command.
|
- Press <kbd>F1</kbd> and select the **Remote-Containers: Try a Sample...** command.
|
||||||
- Choose the "PHP" sample, wait for the container to start and try things out!
|
- 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.
|
> **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 <kbd>F1</kbd> 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
|
## Things to try
|
||||||
|
|
||||||
Once you have this sample opened in a container, you'll be able to work with it like you would locally.
|
Once you have this sample opened in a container, you'll be able to work with it like you would locally.
|
||||||
|
|||||||
Reference in New Issue
Block a user