-
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
9a70fbf
commit c69b94a
Showing
6 changed files
with
50 additions
and
12 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
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
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
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
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,13 @@ | ||
|
||
FROM ghcr.io/net-daemon/netdaemon_base:8 | ||
|
||
RUN mkdir -p /usr/src/bashio \ | ||
&& curl -L -f -s "https://github.com/hassio-addons/bashio/archive/v0.14.3.tar.gz" \ | ||
| tar -xzf - --strip 1 -C /usr/src/bashio \ | ||
&& mv /usr/src/bashio/lib /usr/lib/bashio \ | ||
&& ln -s /usr/lib/bashio/bashio /usr/bin/bashio | ||
|
||
LABEL \ | ||
io.hass.version="VERSION" \ | ||
io.hass.type="addon" \ | ||
io.hass.arch="armhf|aarch64|amd64" |
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,25 @@ | ||
|
||
FROM mcr.microsoft.com/dotnet/sdk:8.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"] |