Skip to content

Instantly share code, notes, and snippets.

@soup-bowl
Last active June 13, 2023 07:45
Show Gist options
  • Save soup-bowl/0c73b79e4c2e7f3169b14742ae20ce5e to your computer and use it in GitHub Desktop.
Save soup-bowl/0c73b79e4c2e7f3169b14742ae20ce5e to your computer and use it in GitHub Desktop.
Whatsthis Devcontainer Workspace (clone as .devcontainer directory)
// 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"
}
}
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