fixed supercontric version

This commit is contained in:
holzi1005 2024-11-18 18:22:19 +01:00
parent e5ef201276
commit ac3347b26f
3 changed files with 7 additions and 7 deletions

View file

@ -1,5 +1,5 @@
ARG VERSION ARG VERSION
ARG SUPERCRONIC_VERSION=0.2.33 ARG SUPERCRONIC_VERSION=v0.2.33
ARG PHP_IMAGE_VERSION=3.20.5 ARG PHP_IMAGE_VERSION=3.20.5
FROM erseco/alpine-php-webserver:${PHP_IMAGE_VERSION} FROM erseco/alpine-php-webserver:${PHP_IMAGE_VERSION}
@ -33,7 +33,7 @@ RUN apk --no-cache add \
RUN sed -i 's/^date.timezone=.*$/date.timezone="Europe\/Berlin"/' /etc/php83/conf.d/custom.ini RUN sed -i 's/^date.timezone=.*$/date.timezone="Europe\/Berlin"/' /etc/php83/conf.d/custom.ini
RUN echo "Europe/Berlin" > /etc/timezone RUN echo "Europe/Berlin" > /etc/timezone
RUN wget https://github.com/aptible/supercronic/releases/download/v${SUPERCRONIC_VERSION}/supercronic-linux-amd64 -O /supercronic \ RUN wget https://github.com/aptible/supercronic/releases/download/${SUPERCRONIC_VERSION}/supercronic-linux-amd64 -O /supercronic \
&& chmod +x /supercronic && chmod +x /supercronic
RUN wget https://git.h2-invent.com/Public-System-Design/Public-Helperscripts/raw/branch/main/distributed_cron.sh -O /distributed_cron.sh \ RUN wget https://git.h2-invent.com/Public-System-Design/Public-Helperscripts/raw/branch/main/distributed_cron.sh -O /distributed_cron.sh \

View file

@ -1,5 +1,5 @@
ARG VERSION ARG VERSION
ARG SUPERCRONIC_VERSION=0.2.33 ARG SUPERCRONIC_VERSION=v0.2.33
ARG PHP_IMAGE_VERSION=3.20.5 ARG PHP_IMAGE_VERSION=3.20.5
FROM erseco/alpine-php-webserver:${PHP_IMAGE_VERSION} FROM erseco/alpine-php-webserver:${PHP_IMAGE_VERSION}
@ -29,7 +29,7 @@ RUN mkdir /etc/service/cron \
&& chown -R nobody:nobody /etc/service/cron \ && chown -R nobody:nobody /etc/service/cron \
&& chmod -R +x /etc/service/cron && chmod -R +x /etc/service/cron
RUN wget https://github.com/aptible/supercronic/releases/download/v${SUPERCRONIC_VERSION}/supercronic-linux-amd64 -O /supercronic \ RUN wget https://github.com/aptible/supercronic/releases/download/${SUPERCRONIC_VERSION}/supercronic-linux-amd64 -O /supercronic \
&& chmod +x /supercronic && chmod +x /supercronic
RUN wget https://git.h2-invent.com/Public-System-Design/Public-Helperscripts/raw/branch/main/distributed_cron.sh -O /distributed_cron.sh \ RUN wget https://git.h2-invent.com/Public-System-Design/Public-Helperscripts/raw/branch/main/distributed_cron.sh -O /distributed_cron.sh \

View file

@ -1,5 +1,5 @@
ARG VERSION ARG VERSION
ARG SUPERCRONIC_VERSION=0.2.33 ARG SUPERCRONIC_VERSION=v0.2.33
ARG PHP_IMAGE_VERSION=3.20.5 ARG PHP_IMAGE_VERSION=3.20.5
FROM erseco/alpine-php-webserver:${PHP_IMAGE_VERSION} FROM erseco/alpine-php-webserver:${PHP_IMAGE_VERSION}
@ -29,8 +29,8 @@ RUN apk --no-cache add \
RUN sed -i 's/^date.timezone=.*$/date.timezone="Europe\/Berlin"/' /etc/php83/conf.d/custom.ini RUN sed -i 's/^date.timezone=.*$/date.timezone="Europe\/Berlin"/' /etc/php83/conf.d/custom.ini
RUN echo "Europe/Berlin" > /etc/timezone RUN echo "Europe/Berlin" > /etc/timezone
RUN wget https://github.com/aptible/supercronic/releases/download/v${SUPERCRONIC_VERSION}/supercronic-linux-amd64 -O /supercronic \ RUN wget https://github.com/aptible/supercronic/releases/download/${SUPERCRONIC_VERSION}/supercronic-linux-amd64 -O /supercronic \
&& chmod +x /supercroni && chmod +x /supercronic
RUN wget https://git.h2-invent.com/Public-System-Design/Public-Helperscripts/raw/branch/main/distributed_cron.sh -O /distributed_cron.sh \ RUN wget https://git.h2-invent.com/Public-System-Design/Public-Helperscripts/raw/branch/main/distributed_cron.sh -O /distributed_cron.sh \
&& chmod +x /distributed_cron.sh && chmod +x /distributed_cron.sh