mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-02-04 19:07:43 +01:00
Change script permission setting in Dockerfile
Updated file permissions for scripts in /etc instead of current directory.
This commit is contained in:
@@ -91,7 +91,7 @@ RUN \
|
||||
##################
|
||||
# Copy local files
|
||||
COPY rootfs/ /
|
||||
RUN find . -type f \( -name "*.sh" -o -name "run" -o -name "finish" \) -print -exec chmod +x {} \;
|
||||
RUN find /etc -type f \( -name "*.sh" -o -name "run" -o -name "finish" \) -exec chmod +x {} +
|
||||
|
||||
# Uses /bin for compatibility purposes
|
||||
# hadolint ignore=DL4005
|
||||
@@ -137,10 +137,6 @@ RUN chmod 777 /ha_entrypoint.sh
|
||||
ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/usr/local/lib/bashio-standalone.sh"
|
||||
RUN chmod 0755 /usr/local/lib/bashio-standalone.sh
|
||||
|
||||
COPY rootfs/ /
|
||||
RUN find . -type f \( -name "*.sh" -o -name "run" -o -name "finish"\) -print -exec chmod +x {} \;
|
||||
|
||||
|
||||
############
|
||||
# 5 Labels #
|
||||
############
|
||||
|
||||
Reference in New Issue
Block a user