Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 1 addition & 9 deletions images/dotnet/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
FROM mcr.microsoft.com/devcontainers/base:latest AS builder

WORKDIR /builder

ADD --chown=vscode:vscode --chmod=500 https://dot.net/v1/dotnet-install.sh .


FROM mcr.microsoft.com/devcontainers/base:latest

USER vscode
Expand All @@ -13,5 +6,4 @@ ENV PATH=$PATH:$DOTNET_ROOT:$DOTNET_ROOT/tools

ARG SDK_VERSION=LTS

RUN --mount=type=bind,from=builder,source=/builder/dotnet-install.sh,target=/builder/dotnet-install.sh \
/builder/dotnet-install.sh --channel $SDK_VERSION
RUN curl -fsSL https://dot.net/v1/dotnet-install.sh | bash /dev/stdin --channel $SDK_VERSION
Comment thread
iplaylf2 marked this conversation as resolved.
8 changes: 8 additions & 0 deletions images/nodejs/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
FROM mcr.microsoft.com/devcontainers/base:latest
Comment thread
iplaylf2 marked this conversation as resolved.

USER vscode
ARG SDK_VERSION=""

RUN curl -fsSL https://fnm.vercel.app/install | bash
Comment thread
iplaylf2 marked this conversation as resolved.

RUN if [ -n "$SDK_VERSION" ]; then fnm install "$SDK_VERSION"; fi
Loading