From d2d3fa5839197413d57f9ca025f128ea476ccc86 Mon Sep 17 00:00:00 2001 From: Chris Ayers Date: Wed, 4 Oct 2023 16:29:04 +0000 Subject: [PATCH] updated devcontainers --- .../{ => gitHubActions}/devcontainer.json | 17 +------- .devcontainer/slides/devcontainer.json | 39 +++++++++++++++++++ 2 files changed, 41 insertions(+), 15 deletions(-) rename .devcontainer/{ => gitHubActions}/devcontainer.json (75%) create mode 100644 .devcontainer/slides/devcontainer.json diff --git a/.devcontainer/devcontainer.json b/.devcontainer/gitHubActions/devcontainer.json similarity index 75% rename from .devcontainer/devcontainer.json rename to .devcontainer/gitHubActions/devcontainer.json index 7823b12..50114ca 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/gitHubActions/devcontainer.json @@ -1,7 +1,7 @@ // For format details, see https://aka.ms/devcontainer.json. For config options, see the // README at: https://github.com/devcontainers/templates/tree/main/src/debian { - "name": "Debian", + "name": "GitHub Actions", // Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile "image": "mcr.microsoft.com/devcontainers/base:bullseye", "features": { @@ -20,25 +20,12 @@ "customizations": { // Configure properties specific to VS Code. "vscode": { - "settings": { - "markdown.marp.enableHtml": true, - "markdown.marp.themes": [ - "./slides/themes/custom.css", - "./slides/themes/custom-default.css", - "./slides/themes/custom-gaia.css", - "./slides/themes/custom-uncover.css" - ] - }, "extensions": [ "github.vscode-github-actions", "github.vscode-pull-request-github", "github.copilot", "redhat.vscode-yaml", - "yzhang.markdown-all-in-one", - "streetsidesoftware.code-spell-checker", - "marp-team.marp-vscode", - "ms-azuretools.vscode-bicep", - "bierner.markdown-mermaid" + "streetsidesoftware.code-spell-checker" ] } }, diff --git a/.devcontainer/slides/devcontainer.json b/.devcontainer/slides/devcontainer.json new file mode 100644 index 0000000..e1113ab --- /dev/null +++ b/.devcontainer/slides/devcontainer.json @@ -0,0 +1,39 @@ +// For format details, see https://aka.ms/devcontainer.json. For config options, see the +// README at: https://github.com/devcontainers/templates/tree/main/src/ubuntu +{ + "name": "Slides", + // Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile + "image": "mcr.microsoft.com/devcontainers/base:bullseye", + "features": { + }, + // Features to add to the dev container. More info: https://containers.dev/features. + // "features": {}, + // Use 'forwardPorts' to make a list of ports inside the container available locally. + // "forwardPorts": [], + // Use 'postCreateCommand' to run commands after the container is created. + // "postCreateCommand": "uname -a", + "postStartCommand": "git config --global --add safe.directory ${containerWorkspaceFolder}", + // Configure tool-specific properties. + "customizations": { + "vscode": { + "settings": { + "markdown.marp.enableHtml": true, + "markdown.marp.themes": [ + "./slides/themes/custom.css", + "./slides/themes/custom-default.css", + "./slides/themes/custom-gaia.css", + "./slides/themes/custom-uncover.css" + ] + }, + "extensions": [ + "streetsidesoftware.code-spell-checker", + "yzhang.markdown-all-in-one", + "marp-team.marp-vscode", + "bierner.markdown-mermaid", + "hediet.vscode-drawio" + ] + } + } + // Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root. + // "remoteUser": "root" +} \ No newline at end of file