From 7fe0f108558742ea9afcdbdcbb8d38f18214b2dc Mon Sep 17 00:00:00 2001 From: Bowden Kelly Date: Mon, 15 Apr 2019 21:18:22 +0000 Subject: [PATCH] Removed docker cli from .devconatiner to speed up initial build time. Also added setting to ignore extension recommendations so that users aren't prompted to download the docker extension. --- .devcontainer/Dockerfile | 7 ------- .devcontainer/devcontainer.json | 1 - .vscode/settings.json | 3 +++ 3 files changed, 3 insertions(+), 8 deletions(-) create mode 100644 .vscode/settings.json diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index 646ebb1b..8ad36ea5 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -10,13 +10,6 @@ FROM debian:9 RUN apt-get update \ && apt-get install -y git procps lsb-release -# Install Docker CE CLI -RUN apt-get install -y apt-transport-https ca-certificates curl gnupg-agent software-properties-common lsb-release \ - && curl -fsSL https://download.docker.com/linux/$(lsb_release -is | tr '[:upper:]' '[:lower:]')/gpg | apt-key add - \ - && add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/$(lsb_release -is | tr '[:upper:]' '[:lower:]') $(lsb_release -cs) stable" \ - && apt-get update \ - && apt-get install -y docker-ce-cli - # Clean up RUN apt-get autoremove -y \ && apt-get clean -y \ diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 26f70b54..fa694605 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -7,7 +7,6 @@ "streetsidesoftware.code-spell-checker", "DavidAnson.vscode-markdownlint", "esbenp.prettier-vscode", - "PeterJausovec.vscode-docker", "eamodio.gitlens", "mutantdino.resourcemonitor" ], diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 00000000..907fe26f --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,3 @@ +{ + "extensions.ignoreRecommendations": true +} \ No newline at end of file