include supercronic as crond replacement

This commit is contained in:
Robert Kaussow 2019-10-02 10:44:48 +02:00
parent 475af7d6a0
commit 191f13bd19

View File

@ -14,6 +14,8 @@ RUN addgroup -g 101 -S nginx && \
rm -rf /etc/nginx/conf.d && \ rm -rf /etc/nginx/conf.d && \
curl -SsL -o /usr/local/bin/gomplate https://github.com/hairyhenderson/gomplate/releases/download/v3.5.0/gomplate_linux-amd64-slim && \ curl -SsL -o /usr/local/bin/gomplate https://github.com/hairyhenderson/gomplate/releases/download/v3.5.0/gomplate_linux-amd64-slim && \
chmod 755 /usr/local/bin/gomplate && \ chmod 755 /usr/local/bin/gomplate && \
curl -SsL -o /usr/local/bin/supercronic https://github.com/aptible/supercronic/releases/download/v0.1.9/supercronic-linux-amd64 && \
chmod 755 /usr/local/bin/supercronic && \
touch /run/nginx.pid && \ touch /run/nginx.pid && \
chown nginx /run/nginx.pid && \ chown nginx /run/nginx.pid && \
chown -R nginx /var/log/nginx && \ chown -R nginx /var/log/nginx && \