Skip to content

Commit

Permalink
Merge pull request #16 from romeroalx/fix-pdns-auth-branches
Browse files Browse the repository at this point in the history
Avoid errors when changing permissions for /opt/pdns-auth if the folder does not exist
  • Loading branch information
romeroalx authored Dec 13, 2024
2 parents 8969be3 + c685a0c commit e8a116b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +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 || true

WORKDIR ${USER_HOME}

Expand Down

0 comments on commit e8a116b

Please sign in to comment.