add dotnet containerfiles
This commit is contained in:
parent
1d9666e394
commit
3a69fb4224
19
dotnet_base_container/Containerfile
Normal file
19
dotnet_base_container/Containerfile
Normal 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
|
19
dotnet_lts_container/Containerfile
Normal file
19
dotnet_lts_container/Containerfile
Normal 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
|
Loading…
Reference in New Issue
Block a user