add dotnet containerfiles

This commit is contained in:
Wyatt J. Miller 2023-05-30 13:33:52 -04:00
parent 1d9666e394
commit 3a69fb4224
2 changed files with 38 additions and 0 deletions

View File

@ -0,0 +1,19 @@
# .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 registry.fedoraproject.org/fedora-toolbox:38
# 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" \
usage="To be built upon with custom developer images" \
summary="Wyatt's custom base image" \
maintainer="Wyatt J. Miller <wyatt@wyattjmiller.com>"
# Install .NET and related tools
RUN dnf install dotnet-sdk-7.0 dotnet-templates-7.0

View File

@ -0,0 +1,19 @@
# .NET LTS 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 registry.fedoraproject.org/fedora-toolbox:38
# Label it right, ya know?
ENV NAME=custom_dotnet_lts_image VERSION=1.0
LABEL com.github.containers.toolbox="true" \
com.redhat.component="$NAME" \
name="$NAME" \
version="$VERSION" \
usage="To be built upon with custom developer images" \
summary="Wyatt's custom base image" \
maintainer="Wyatt J. Miller <wyatt@wyattjmiller.com>"
# Install .NET and related tools
RUN dnf install dotnet-sdk-6.0 dotnet-sdk-6.0