Last active
June 13, 2023 07:45
-
-
Save soup-bowl/0c73b79e4c2e7f3169b14742ae20ce5e to your computer and use it in GitHub Desktop.
Whatsthis Devcontainer Workspace (clone as .devcontainer directory)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
// For format details, see https://aka.ms/devcontainer.json. For config options, see the | |
// README at: https://github.com/devcontainers/templates/tree/main/src/typescript-node | |
{ | |
"name": "Node & Dotnet", | |
"build": { | |
"dockerfile": "Dockerfile" | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM mcr.microsoft.com/devcontainers/typescript-node:0-20 | |
RUN apt-get update \ | |
&& apt-get install -y --no-install-recommends \ | |
wget \ | |
ca-certificates \ | |
apt-transport-https \ | |
gnupg \ | |
dirmngr \ | |
&& wget https://packages.microsoft.com/config/debian/$(lsb_release -rs)/packages-microsoft-prod.deb -O packages-microsoft-prod.deb \ | |
&& dpkg -i packages-microsoft-prod.deb \ | |
&& rm packages-microsoft-prod.deb \ | |
&& apt-get update \ | |
&& apt-get install -y --no-install-recommends \ | |
dotnet-sdk-7.0 | |
#RUN sudo chown -R node:node /workspaces |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment