custom-containers/language-containers/dotnet/Containerfile

21 lines
742 B
Plaintext
Raw Normal View History

2023-05-30 12:33:52 -05:00
# .NET development container image
# Written by Wyatt J. Miller, 2023
# This image is opinionated, but you're welcome to customize as much as you like
# Start with the Fedora 38 image
FROM scm.wyattjmiller.com/wymiller/base_container:latest
2023-05-30 12:33:52 -05:00
# Label it right, ya know?
ENV NAME=custom_dotnet_base_image VERSION=1.0
LABEL com.github.containers.toolbox="true" \
com.redhat.component="$NAME" \
name="$NAME" \
version="$VERSION" \
2023-05-30 12:36:55 -05:00
usage=".NET currrent custom developer images" \
summary="Wyatt's custom .NET 7 image" \
2023-05-30 12:33:52 -05:00
maintainer="Wyatt J. Miller <wyatt@wyattjmiller.com>"
# Install .NET and related tools
RUN dnf install dotnet-sdk-7.0 dotnet-templates-7.0 -y -q
2024-04-08 11:52:02 -05:00
RUN dotnet tool install --global PowerShell