update from image version

This commit is contained in:
holzi1005 2024-11-18 15:37:14 +01:00
parent 71d82290a6
commit c16ac2f220

View file

@ -1,6 +1,8 @@
FROM erseco/alpine-php-webserver:3.20.5
ARG VERSION
ARG SUPERCRONIC_VERSION=0.2.33
ARG PHP_IMAGE_VERSION=3.20.5
FROM erseco/alpine-php-webserver:${PHP_IMAGE_VERSION}
LABEL version="${VERSION}" \
Maintainer="H2 invent GmbH" \
@ -27,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 echo "Europe/Berlin" > /etc/timezone
RUN wget https://github.com/aptible/supercronic/releases/download/v0.2.33/supercronic-linux-amd64 -O /supercronic \
&& chmod +x /supercronic
RUN wget https://github.com/aptible/supercronic/releases/download/v${SUPERCRONIC_VERSION}/supercronic-linux-amd64 -O /supercronic \
&& chmod +x /supercroni
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