diff --git a/Dockerfile b/Dockerfile index bbd21c5..3916eac 100644 --- a/Dockerfile +++ b/Dockerfile @@ -173,7 +173,7 @@ RUN set -x \ && rm -rf /tmp/src \ && rm -rf /var/cache/apk/* \ && echo "unms ALL=(ALL) NOPASSWD: /usr/sbin/nginx -s *" >> /etc/sudoers \ - && echo "unms ALL=(ALL) NOPASSWD:SETENV: /refresh-certificate.sh *" >> /etc/sudoers \ + && echo "unms ALL=(ALL) NOPASSWD: /bin/cat *" >> /etc/sudoers \ && echo "unms ALL=(ALL) NOPASSWD:SETENV: /refresh-configuration.sh *" >> /etc/sudoers COPY --from=unms-crm /etc/nginx/available-servers /etc/nginx/ucrm diff --git a/Dockerfile.armhf b/Dockerfile.armhf index 3562153..0ed0df1 100644 --- a/Dockerfile.armhf +++ b/Dockerfile.armhf @@ -173,7 +173,7 @@ RUN set -x \ && rm -rf /tmp/src \ && rm -rf /var/cache/apk/* \ && echo "unms ALL=(ALL) NOPASSWD: /usr/sbin/nginx -s *" >> /etc/sudoers \ - && echo "unms ALL=(ALL) NOPASSWD:SETENV: /refresh-certificate.sh *" >> /etc/sudoers \ + && echo "unms ALL=(ALL) NOPASSWD: /bin/cat *" >> /etc/sudoers \ && echo "unms ALL=(ALL) NOPASSWD:SETENV: /refresh-configuration.sh *" >> /etc/sudoers COPY --from=unms-crm /etc/nginx/available-servers /etc/nginx/ucrm