mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-08 16:45:56 +02:00
Update Dockerfile
This commit is contained in:
@@ -1,4 +1,3 @@
|
|||||||
# shellcheck disable=SC2154
|
|
||||||
#============================#
|
#============================#
|
||||||
# ALEXBELGIUM'S DOCKERFILE #
|
# ALEXBELGIUM'S DOCKERFILE #
|
||||||
#============================#
|
#============================#
|
||||||
@@ -38,6 +37,7 @@ ENV OPENPROJECT_SECRET_KEY_BASE=addon_secret \
|
|||||||
|
|
||||||
USER root
|
USER root
|
||||||
|
|
||||||
|
# hadolint ignore=SC2154
|
||||||
RUN sed -i "s|/bin/bash|/bin/bashio|g" /app/docker/prod/entrypoint.sh && \
|
RUN sed -i "s|/bin/bash|/bin/bashio|g" /app/docker/prod/entrypoint.sh && \
|
||||||
sed -i "1a /./ha_entrypoint.sh" /app/docker/prod/entrypoint.sh && \
|
sed -i "1a /./ha_entrypoint.sh" /app/docker/prod/entrypoint.sh && \
|
||||||
sed -i "2a\for variable in OPENPROJECT_SECRET_KEY_BASE OPENPROJECT_HOST__NAME OPENPROJECT_HTTPS OPENPROJECT_DEFAULT__LANGUAGE; do if bashio::config.has_value \$variable; then export \$variable=\"\$(bashio::config $variable)\"; fi; done" /app/docker/prod/entrypoint.sh
|
sed -i "2a\for variable in OPENPROJECT_SECRET_KEY_BASE OPENPROJECT_HOST__NAME OPENPROJECT_HTTPS OPENPROJECT_DEFAULT__LANGUAGE; do if bashio::config.has_value \$variable; then export \$variable=\"\$(bashio::config $variable)\"; fi; done" /app/docker/prod/entrypoint.sh
|
||||||
|
|||||||
Reference in New Issue
Block a user