From 379cf2bae1aa9e02c88f15d7b1e07b7afe5c9c69 Mon Sep 17 00:00:00 2001 From: Ludeeus Date: Sat, 19 Dec 2020 14:47:38 +0000 Subject: [PATCH] Add GH CLI to devcontainer --- .devcontainer/Dockerfile | 6 ++++++ .devcontainer/devcontainer.json | 5 +++-- 2 files changed, 9 insertions(+), 2 deletions(-) create mode 100644 .devcontainer/Dockerfile 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",