fixed args after from

This commit is contained in:
holzi1005 2024-11-18 19:12:50 +01:00
parent acaed38d19
commit e072233380
3 changed files with 14 additions and 9 deletions

View file

@ -1,8 +1,9 @@
ARG VERSION
ARG PHP_IMAGE_VERSION=3.20.5
FROM erseco/alpine-php-webserver:${PHP_IMAGE_VERSION}
ARG VERSION
ARG SUPERCRONIC_VERSION=0.2.33
LABEL version="${VERSION}" \
Maintainer="H2 invent GmbH" \
Description="Docker Image der Anwendung Jitsi Admin" \
@ -32,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 echo "Europe/Berlin" > /etc/timezone
RUN wget https://github.com/aptible/supercronic/releases/download/v0.2.33/supercronic-linux-amd64 -O /supercronic \
RUN wget https://github.com/aptible/supercronic/releases/download/v${SUPERCRONIC_VERSION}/supercronic-linux-amd64 -O /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 \

View file

@ -1,8 +1,9 @@
ARG VERSION
ARG PHP_IMAGE_VERSION=3.20.5
FROM erseco/alpine-php-webserver:${PHP_IMAGE_VERSION}
ARG VERSION
ARG SUPERCRONIC_VERSION=0.2.33
LABEL version="${VERSION}" \
Maintainer="H2 invent GmbH" \
Description="Docker Image der Anwendung Open Datenschutzcenter" \
@ -16,6 +17,7 @@ LABEL version="${VERSION}" \
org.opencontainers.image.url="https://open-datenschutzcenter.de"
USER root
RUN apk --no-cache add \
unzip \
sqlite \
@ -28,7 +30,7 @@ RUN mkdir /etc/service/cron \
&& chown -R nobody:nobody /etc/service/cron \
&& chmod -R +x /etc/service/cron
RUN wget https://github.com/aptible/supercronic/releases/download/v0.2.33/supercronic-linux-amd64 -O /supercronic \
RUN wget https://github.com/aptible/supercronic/releases/download/v${SUPERCRONIC_VERSION}/supercronic-linux-amd64 -O /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 \

View file

@ -1,8 +1,9 @@
ARG VERSION
ARG PHP_IMAGE_VERSION=3.20.5
FROM erseco/alpine-php-webserver:${PHP_IMAGE_VERSION}
ARG VERSION
ARG SUPERCRONIC_VERSION=0.2.33
LABEL version="${VERSION}" \
Maintainer="H2 invent GmbH" \
Description="Docker Image der Anwendung Unsere Schulkindbetreuung" \
@ -16,6 +17,7 @@ LABEL version="${VERSION}" \
org.opencontainers.image.url="https://unsere-schulkindbetreuung.de"
USER root
RUN apk --no-cache add \
unzip \
php83-xmlwriter \
@ -28,7 +30,7 @@ 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 \
RUN wget https://github.com/aptible/supercronic/releases/download/v${SUPERCRONIC_VERSION}/supercronic-linux-amd64 -O /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 \