custom-containers/language-containers/dotnet/Containerfile.lts

21 lines
751 B
Plaintext

# .NET LTS development container image
# Written by Wyatt J. Miller, 2023, 2024
# This image is opinionated, but you're welcome to customize as much as you like
# Start with the Fedora 39 image
FROM scm.wyattjmiller.com/wymiller/base_container:latest
# Label it right, ya know?
ENV NAME=custom_dotnet_lts_image VERSION=1.1
LABEL com.github.containers.toolbox="true" \
com.redhat.component="$NAME" \
name="$NAME" \
version="$VERSION" \
usage=".NET LTS custom developer image" \
summary="Wyatt's custom .NET LTS image" \
maintainer="Wyatt J. Miller <wyatt@wyattjmiller.com>"
# Install .NET and related tools
RUN dnf install dotnet-sdk-8.0 dotnet-templates-8.0
RUN fish -c "set -gx DOTNET_PATH $HOME/.dotnet/tools"