mirror of
https://github.com/ZuneDev/dotnet-runtime.git
synced 2026-07-27 13:22:01 -07:00
Adds a default configuration that comes with all the dependencies preinstalled, but not prebuilt. This reduces confusion if you don't use the "New with options..." dropdown when creating the Codespace since you'd just get a standard Ubuntu container then. Also install a specific version of dotnet-serve.
29 lines
919 B
Docker
29 lines
919 B
Docker
# See here for image contents: https://github.com/microsoft/vscode-dev-containers/tree/v0.192.0/containers/dotnet/.devcontainer/base.Dockerfile
|
|
# For details on dotnet specific container, see: https://github.com/microsoft/vscode-dev-containers/tree/main/containers/dotnet
|
|
|
|
# [Choice] .NET version: 6.0, 7.0
|
|
ARG VARIANT="6.0-jammy"
|
|
FROM mcr.microsoft.com/devcontainers/dotnet:0-${VARIANT}
|
|
|
|
# Set up machine requirements to build the repo and the gh CLI
|
|
RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
|
|
&& apt-get -y install --no-install-recommends \
|
|
cmake \
|
|
llvm \
|
|
clang \
|
|
build-essential \
|
|
python3 \
|
|
curl \
|
|
git \
|
|
lldb \
|
|
liblldb-dev \
|
|
libunwind8 \
|
|
libunwind8-dev \
|
|
gettext \
|
|
libicu-dev \
|
|
liblttng-ust-dev \
|
|
libssl-dev \
|
|
libkrb5-dev \
|
|
zlib1g-dev \
|
|
ninja-build
|