Skip to content

Commit

Permalink
Adding .NET 7 base images
Browse files Browse the repository at this point in the history
  • Loading branch information
helto4real committed Nov 14, 2022
1 parent aa6c2cc commit cbd40f9
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions base/Dockerfile7
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
FROM mcr.microsoft.com/dotnet/sdk:7.0

ENV \
S6_KEEP_ENV=1 \
DOTNET_NOLOGO=true \
DOTNET_CLI_TELEMETRY_OPTOUT=true \
ASPNETCORE_URLS=http://+:5000

# This one is used by the container to start custom assembly
#NETDAEMON__APPLICATION_ASSEMBLY=""

# Install S6 and the Admin site
RUN apt update && apt install -y \
nodejs \
yarn \
jq \
make

COPY ./base/s6.sh /s6.sh

RUN chmod 700 /s6.sh
RUN /s6.sh

ENTRYPOINT ["/init"]

0 comments on commit cbd40f9

Please sign in to comment.