Updated docker File
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 32s

This commit is contained in:
2026-04-26 16:35:17 +02:00
parent c70334e65e
commit ca5fbceac3
2 changed files with 24 additions and 7 deletions

View File

@@ -21,11 +21,12 @@ ADD https://api.github.com/repos/chrisb86/nsupdate/git/refs/heads/main /.git-has
COPY nsupdate.sh /usr/local/bin/nsupdate.sh
RUN chmod +x /usr/local/bin/nsupdate.sh
## Setup cron job
RUN echo "${SCHEDULE} sh /usr/local/bin/nsupdate.sh" >> /etc/crontabs/root
COPY docker/entrypoint.sh /usr/local/bin/entrypoint.sh
RUN chmod +x /usr/local/bin/entrypoint.sh
## Start crond
CMD [ "crond", "-l", "2", "-f" ]
ENTRYPOINT [ "/usr/local/bin/entrypoint.sh" ]
CMD [ "crond", "-f" ]
VOLUME /config
VOLUME /log
VOLUME /log