From 3a69fb4224f14c4e1adb9d792f547c34e3e3d74f Mon Sep 17 00:00:00 2001 From: "Wyatt J. Miller" Date: Tue, 30 May 2023 13:33:52 -0400 Subject: [PATCH] add dotnet containerfiles --- dotnet_base_container/Containerfile | 19 +++++++++++++++++++ dotnet_lts_container/Containerfile | 19 +++++++++++++++++++ 2 files changed, 38 insertions(+) create mode 100644 dotnet_base_container/Containerfile create mode 100644 dotnet_lts_container/Containerfile 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