From ac479c81aeae980569e5699eea9aea5a532997bf Mon Sep 17 00:00:00 2001 From: Melvin Wilson <13534603+NarrowGate@users.noreply.github.com> Date: Sat, 6 Sep 2025 09:33:35 +1000 Subject: [PATCH 1/2] docker --- .dotcontainer/devcontainer.json | 60 +++++++++++++++++++++++++++++++++ Dockerfile | 3 ++ 2 files changed, 63 insertions(+) create mode 100644 .dotcontainer/devcontainer.json create mode 100644 Dockerfile diff --git a/.dotcontainer/devcontainer.json b/.dotcontainer/devcontainer.json new file mode 100644 index 0000000..2568c35 --- /dev/null +++ b/.dotcontainer/devcontainer.json @@ -0,0 +1,60 @@ +{ + "name": "C#", + "dockerFile": "../Dockerfile", + // Use 'settings' to set *default* container specific settings.json values on container create. + // You can edit these settings after create using File > Preferences > Settings > Remote. + // "settings": { + // "terminal.integrated.shell.linux": "/bin/bash", + // "vetur.completion.autoImport": false + // }, + + // Uncomment the next line if you want to publish any ports. + // "appPort": ["7030:5173"], + + // Uncomment the next line to run commands after the container is created. + // "postCreateCommand": "yarn install", + + // Uncomment the next line to use a non-root user. On Linux, this will prevent + // new files getting created as root, but you may need to update the USER_UID + // and USER_GID in .devcontainer/Dockerfile to match your user if not 1000. + // "runArgs": ["-u", "node"], + // "workspaceMount": "source=${localWorkspaceFolder},target=/home/node/mw,type=bind", + "mounts": ["source=${localWorkspaceFolder},target=/home/node/mw,type=bind"], + + // "source=${localWorkspaceFolder}/packages,target=/home/node/mw/packages,type=bind", + // "source=${localWorkspaceFolder}/projects,target=/home/node/mw/projects,type=bind" + // "source=${localWorkspaceFolder}/.prettierrc/,target=/home/node/mw/.prettierrc,type=bind" + // "source=${locaEnv:HOME}/Documents/repos/mrpo/packages,target=/home/node/mw,type=bind" + "workspaceFolder": "/home/node/mw", + + // Add the IDs of extensions you want installed when the container is created in the array below. + "customizations": { + "vscode": { + "extensions": [ + "donjayamanne.githistory", + "bradlc.vscode-tailwindcss", + "eamodio.gitlens", + "dbaeumer.vscode-eslint", + // "esbenp.prettier-vscode", + // "biomejs.biome", + "github.copilot", + "github.vscode-pull-request-github", + + "vscodevim.vim", + "mhutchie.git-graph", + "oderwat.indent-rainbow", + "Vue.volar", + + // themes + "teabyii.ayu", + "sdras.inbedby7pm", + "mvllow.rose-pine", + "wicked-labs.wvsc-serendipity", + "sdras.night-owl", + "fisheva.eva-theme", + "iKenshu.rose-noctis", + "AlexDauenhauer.catppuccin-noctis" + ] + } + } +} diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..2247199 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,3 @@ +FROM mcr.microsoft.com/dotnet/runtime:8.0 +# WORKDIR /app +# EXPOSE 80 \ No newline at end of file From bccf182d0da5b0b213e43df9af82fb7e1462591f Mon Sep 17 00:00:00 2001 From: Melvin Wilson <13534603+NarrowGate@users.noreply.github.com> Date: Sat, 6 Sep 2025 09:54:00 +1000 Subject: [PATCH 2/2] c# dev kit extension --- .dotcontainer/devcontainer.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.dotcontainer/devcontainer.json b/.dotcontainer/devcontainer.json index 2568c35..9cdec9f 100644 --- a/.dotcontainer/devcontainer.json +++ b/.dotcontainer/devcontainer.json @@ -32,7 +32,6 @@ "vscode": { "extensions": [ "donjayamanne.githistory", - "bradlc.vscode-tailwindcss", "eamodio.gitlens", "dbaeumer.vscode-eslint", // "esbenp.prettier-vscode", @@ -43,7 +42,7 @@ "vscodevim.vim", "mhutchie.git-graph", "oderwat.indent-rainbow", - "Vue.volar", + "ms-dotnettools.csdevkit", // themes "teabyii.ayu",