From 73a3bd39e94ae90bf3cba24165cf6d196d64174d Mon Sep 17 00:00:00 2001 From: Chris Ayers Date: Sat, 6 May 2023 06:25:07 +0000 Subject: [PATCH 1/2] updated devcontainer --- .devcontainer/Dockerfile | 6 ------ .devcontainer/devcontainer.json | 37 ++++++++++++++++++++------------- 2 files changed, 23 insertions(+), 20 deletions(-) delete mode 100644 .devcontainer/Dockerfile diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile deleted file mode 100644 index 7fdc386..0000000 --- a/.devcontainer/Dockerfile +++ /dev/null @@ -1,6 +0,0 @@ -FROM mcr.microsoft.com/vscode/devcontainers/base:0-bullseye - -# [Optional] Uncomment this section to install additional packages. -RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \ - && apt-get -y install --no-install-recommends chromium - diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index de4b5b9..2af43a7 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -1,18 +1,27 @@ -// For format details, see https://aka.ms/devcontainer.json. For config options, see the README at: -// https://github.com/microsoft/vscode-dev-containers/tree/v0.224.3/containers/markdown +// For format details, see https://aka.ms/devcontainer.json. For config options, see the +// README at: https://github.com/devcontainers/templates/tree/main/src/markdown { - "name": "Markdown Slides", - "dockerFile": "Dockerfile", + "name": "Markdown Editing", + // Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile + "image": "mcr.microsoft.com/devcontainers/base:bullseye", - // Set *default* container specific settings.json values on container create. - "settings": {}, + // Features to add to the dev container. More info: https://containers.dev/features. + // "features": {}, - // Add the IDs of extensions you want installed when the container is created. - "extensions": [ - "yzhang.markdown-all-in-one", - "streetsidesoftware.code-spell-checker", - "marp-team.marp-vscode" - ], + // Configure tool-specific properties. + "customizations": { + // Configure properties specific to VS Code. + "vscode": { + // Add the IDs of extensions you want installed when the container is created. + "extensions": [ + "yzhang.markdown-all-in-one", + "streetsidesoftware.code-spell-checker", + "DavidAnson.vscode-markdownlint", + "bierner.github-markdown-preview", + "marp-team.marp-vscode" + ] + } + } // Use 'forwardPorts' to make a list of ports inside the container available locally. // "forwardPorts": [], @@ -21,6 +30,6 @@ // "postCreateCommand": "uname -a", "postStartCommand": "git config --global --add safe.directory ${containerWorkspaceFolder}", - // Comment out to connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root. - "remoteUser": "vscode" + // Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root. + // "remoteUser": "root" } From 867d8c7dfb5b1629bf457f834b48a3f92e89c270 Mon Sep 17 00:00:00 2001 From: Chris Ayers Date: Sat, 6 May 2023 06:27:17 +0000 Subject: [PATCH 2/2] removed a few extensions --- .devcontainer/devcontainer.json | 2 -- 1 file changed, 2 deletions(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 2af43a7..99dc538 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -16,8 +16,6 @@ "extensions": [ "yzhang.markdown-all-in-one", "streetsidesoftware.code-spell-checker", - "DavidAnson.vscode-markdownlint", - "bierner.github-markdown-preview", "marp-team.marp-vscode" ] }