21 lines
742 B
Docker
21 lines
742 B
Docker
# .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
|
|
|
|
# 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=".NET currrent custom developer images" \
|
|
summary="Wyatt's custom .NET 7 image" \
|
|
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
|
|
RUN dotnet tool install --global PowerShell
|