diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile new file mode 100644 index 0000000..63ef994 --- /dev/null +++ b/.devcontainer/Dockerfile @@ -0,0 +1,9 @@ +FROM simon987/sist2-build + +RUN curl -fsSL https://deb.nodesource.com/setup_16.x | bash +RUN apt update -y; apt install -y nodejs && rm -rf /var/lib/apt/lists/* + +ENV DEBIAN_FRONTEND=noninteractive +ENV LANG C.UTF-8 +ENV LC_ALL C.UTF-8 + diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 0000000..50fd8db --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,16 @@ +{ + "name": "sist2-dev", + "dockerComposeFile": [ + "docker-compose.yml" + ], + "service": "sist2-dev", + "customizations": { + "vscode": { + "extensions": [ + "ms-vscode.cpptools-extension-pack" + ] + } + }, + "remoteUser": "root", + "workspaceFolder": "/app/" +} \ No newline at end of file diff --git a/.devcontainer/docker-compose.yml b/.devcontainer/docker-compose.yml new file mode 100644 index 0000000..1084336 --- /dev/null +++ b/.devcontainer/docker-compose.yml @@ -0,0 +1,8 @@ +version: "3" + +services: + sist2-dev: + build: . + command: sleep infinity + volumes: + - ../:/app \ No newline at end of file