Files
simpleidp/.devcontainer/Dockerfile
2025-09-03 14:59:27 +00:00

21 lines
579 B
Docker

FROM docker:20.10-dind
# Switch to Debian-based image for better .NET support
RUN apk add --no-cache bash curl gnupg
# Install .NET 8 SDK
ENV DOTNET_VERSION=8.0
RUN curl -sSL https://dotnet.microsoft.com/download/dotnet/scripts/v1/dotnet-install.sh -o dotnet-install.sh \
&& chmod +x dotnet-install.sh \
&& ./dotnet-install.sh --version $DOTNET_VERSION --install-dir /usr/share/dotnet \
&& ln -s /usr/share/dotnet/dotnet /usr/bin/dotnet
# Verify installation
RUN dotnet --version
# Optional: install other tools
RUN apk add --no-cache git make vim go
USER root