-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
aa6c2cc
commit cbd40f9
Showing
1 changed file
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"] |