diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile new file mode 100644 index 0000000..70154f9 --- /dev/null +++ b/.devcontainer/Dockerfile @@ -0,0 +1,6 @@ +FROM mcr.microsoft.com/vscode/devcontainers/python:0-3.8 +ENV DEBIAN_FRONTEND=noninteractive +RUN apt-get update \ + \ + && wget -O /tmp/github-debian.sh https://raw.githubusercontent.com/microsoft/vscode-dev-containers/master/script-library/github-debian.sh \ + && bash /tmp/github-debian.sh \ No newline at end of file diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 7310dcb..319acd9 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -1,6 +1,7 @@ { - "image": "mcr.microsoft.com/vscode/devcontainers/python:0-3.8", - "context": "..", + "build": { + "dockerfile": "Dockerfile", + }, "extensions": [ "ms-python.python", "ms-python.vscode-pylance",