diff --git a/skib_application_dockerfile.txt b/skib_application_dockerfile.txt index 63dedba..010e745 100644 --- a/skib_application_dockerfile.txt +++ b/skib_application_dockerfile.txt @@ -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