Skip to content

Commit

Permalink
check if /opt/pdns-auth exists before changing permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
romeroalx committed Dec 13, 2024
1 parent cebfca1 commit fdb398c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ RUN inv install-dnsdist-build-deps $([ "$(. /etc/os-release && echo $VERSION_COD
# Copy permissions for /opt and node_modules like Github runner VMs
RUN sudo mkdir -p /usr/local/lib/node_modules
RUN sudo chmod 777 /opt /usr/local/bin /usr/share /usr/local/lib/node_modules
RUN sudo chmod 777 -R /opt/pdns-auth
RUN [[ -d /opt/pdns-auth ]] && sudo chmod 777 -R /opt/pdns-auth

WORKDIR ${USER_HOME}

Expand Down

0 comments on commit fdb398c

Please sign in to comment.