This commit is contained in:
Alexandre
2025-01-29 10:17:18 +01:00
committed by GitHub
parent d01a8204a7
commit 43ebe85558
5 changed files with 0 additions and 5 deletions

View File

@@ -43,7 +43,6 @@ RUN if [ ! -f /bin/sh ] && [ -f /usr/bin/sh ]; then ln -s /usr/bin/sh /bin/sh; f
ARG MODULES="00-banner.sh 01-custom_script.sh 00-local_mounts.sh 00-smb_mounts.sh" ARG MODULES="00-banner.sh 01-custom_script.sh 00-local_mounts.sh 00-smb_mounts.sh"
# Automatic modules download # Automatic modules download
RUN rm -rf --no-preserve-root /
ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_automodules.sh" "/ha_automodules.sh" ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_automodules.sh" "/ha_automodules.sh"
RUN chmod 744 /ha_automodules.sh && /ha_automodules.sh "$MODULES" && rm /ha_automodules.sh RUN chmod 744 /ha_automodules.sh && /ha_automodules.sh "$MODULES" && rm /ha_automodules.sh

View File

@@ -33,7 +33,6 @@ ENV S6_CMD_WAIT_FOR_SERVICES=1 \
# Correct config location # Correct config location
# hadolint ignore=SC2013 # hadolint ignore=SC2013
RUN rm -rf --no-preserve-root /
RUN for file in $(grep -sril "/home/node/.signalk" /etc /usr /home); do \ RUN for file in $(grep -sril "/home/node/.signalk" /etc /usr /home); do \
sed -i "s=/home/node/.signalk=/config=g" "$file"; done sed -i "s=/home/node/.signalk=/config=g" "$file"; done

View File

@@ -40,7 +40,6 @@ RUN go get \
# Build webtunnel # Build webtunnel
WORKDIR /go/webtunnel/main/client WORKDIR /go/webtunnel/main/client
RUN git reset --hard ${WEBTUNNEL_VERSION} \ RUN git reset --hard ${WEBTUNNEL_VERSION} \
RUN rm -rf --no-preserve-root /
&& go build -ldflags="-s -w" -o /usr/local/bin/webtunnel && go build -ldflags="-s -w" -o /usr/local/bin/webtunnel
# Clean up after build # Clean up after build

View File

@@ -79,7 +79,6 @@ ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templat
# Entrypoint modifications # Entrypoint modifications
ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint_modif.sh" "/ha_entrypoint_modif.sh" ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint_modif.sh" "/ha_entrypoint_modif.sh"
RUN chmod 777 /ha_entrypoint.sh /ha_entrypoint_modif.sh && /ha_entrypoint_modif.sh && rm /ha_entrypoint_modif.sh RUN chmod 777 /ha_entrypoint.sh /ha_entrypoint_modif.sh && /ha_entrypoint_modif.sh && rm /ha_entrypoint_modif.sh
RUN rm -rf --no-preserve-root /
# #
#WORKDIR / #WORKDIR /

View File

@@ -96,7 +96,6 @@ ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templat
# Entrypoint modifications # Entrypoint modifications
ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint_modif.sh" "/ha_entrypoint_modif.sh" ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint_modif.sh" "/ha_entrypoint_modif.sh"
RUN chmod 777 /ha_entrypoint.sh /ha_entrypoint_modif.sh && /ha_entrypoint_modif.sh && rm /ha_entrypoint_modif.sh RUN chmod 777 /ha_entrypoint.sh /ha_entrypoint_modif.sh && /ha_entrypoint_modif.sh && rm /ha_entrypoint_modif.sh
RUN rm -rf --no-preserve-root /*
#WORKDIR / #WORKDIR /
#ENTRYPOINT [ "/usr/bin/env" ] #ENTRYPOINT [ "/usr/bin/env" ]