dotnet-node/Dockerfile
2026-03-13 10:04:18 +05:00

28 строки
631 Б
Docker

FROM ubuntu:24.04
ENV DEBIAN_FRONTEND=noninteractive
# среда
RUN apt-get update && apt-get install -y --no-install-recommends \
ca-certificates \
git \
&& rm -rf /var/lib/apt/lists/*
# nodejs
RUN apt-get update && apt-get install -y --no-install-recommends \
nodejs \
&& rm -rf /var/lib/apt/lists/*
# .NET SDK + ASP.NET
ENV DOTNET_CLI_TELEMETRY_OPTOUT=1
RUN apt-get update && apt-get install -y --no-install-recommends \
dotnet-sdk-10.0 \
&& rm -rf /var/lib/apt/lists/*
# check
RUN git --version && \
dotnet --version && \
node --version
ENV DEBIAN_FRONTEND=
ENTRYPOINT ["/bin/bash"]