diff --git a/dotnet_base_container/Containerfile b/dotnet_base_container/Containerfile new file mode 100644 index 0000000..39372f2 --- /dev/null +++ b/dotnet_base_container/Containerfile @@ -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 " + +# Install .NET and related tools +RUN dnf install dotnet-sdk-7.0 dotnet-templates-7.0 diff --git a/dotnet_lts_container/Containerfile b/dotnet_lts_container/Containerfile new file mode 100644 index 0000000..e5e574d --- /dev/null +++ b/dotnet_lts_container/Containerfile @@ -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 " + +# Install .NET and related tools +RUN dnf install dotnet-sdk-6.0 dotnet-sdk-6.0