Commit 69e72667 authored by Yassine Doghri's avatar Yassine Doghri
Browse files

feat(devcontainer): add devcontainer settings for dev environment

parent d5235975
FROM php:latest
RUN apt-get update && apt-get install -y \
libicu-dev \
&& docker-php-ext-install intl
COPY --from=composer /usr/bin/composer /usr/bin/composer
RUN apt-get update && \
apt-get upgrade -y && \
apt-get install -y git
// For format details, see or this file's README at:
"name": "Existing Dockerfile",
"dockerFile": "./Dockerfile",
"settings": {
"": null
"extensions": [
\ No newline at end of file
......@@ -128,3 +128,24 @@ docker-compose down
Check [docker]( and [docker-compose]( documentations for more insights.
### Developing inside a Container
If you're working in VSCode, you can take advantage of the `./.devcontainer/` folder. It defines a development container with preinstalled VSCode extensions so you don't have to worry about them. The container will be loaded with php, composer and git:
1. Install the VSCode extension [Remote - Containers](
2. `Ctrl/Cmd + Shift + P` > `Open in container`
The VSCode window will reload inside the dev container.
You can check that the required packages are running in the console (`Terminal` > `New Terminal`):
php -v
composer -V
git version
For more info, see [VSCode Remote Containers](
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment