fixed args after from
This commit is contained in:
parent
acaed38d19
commit
e072233380
3 changed files with 14 additions and 9 deletions
|
@ -1,8 +1,9 @@
|
||||||
ARG VERSION
|
|
||||||
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}
|
||||||
|
|
||||||
|
ARG VERSION
|
||||||
|
ARG SUPERCRONIC_VERSION=0.2.33
|
||||||
|
|
||||||
LABEL version="${VERSION}" \
|
LABEL version="${VERSION}" \
|
||||||
Maintainer="H2 invent GmbH" \
|
Maintainer="H2 invent GmbH" \
|
||||||
Description="Docker Image der Anwendung Jitsi Admin" \
|
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 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/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
|
&& 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 \
|
||||||
|
|
|
@ -1,8 +1,9 @@
|
||||||
ARG VERSION
|
|
||||||
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}
|
||||||
|
|
||||||
|
ARG VERSION
|
||||||
|
ARG SUPERCRONIC_VERSION=0.2.33
|
||||||
|
|
||||||
LABEL version="${VERSION}" \
|
LABEL version="${VERSION}" \
|
||||||
Maintainer="H2 invent GmbH" \
|
Maintainer="H2 invent GmbH" \
|
||||||
Description="Docker Image der Anwendung Open Datenschutzcenter" \
|
Description="Docker Image der Anwendung Open Datenschutzcenter" \
|
||||||
|
@ -16,6 +17,7 @@ LABEL version="${VERSION}" \
|
||||||
org.opencontainers.image.url="https://open-datenschutzcenter.de"
|
org.opencontainers.image.url="https://open-datenschutzcenter.de"
|
||||||
|
|
||||||
USER root
|
USER root
|
||||||
|
|
||||||
RUN apk --no-cache add \
|
RUN apk --no-cache add \
|
||||||
unzip \
|
unzip \
|
||||||
sqlite \
|
sqlite \
|
||||||
|
@ -28,7 +30,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/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
|
&& 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 \
|
||||||
|
|
|
@ -1,8 +1,9 @@
|
||||||
ARG VERSION
|
|
||||||
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}
|
||||||
|
|
||||||
|
ARG VERSION
|
||||||
|
ARG SUPERCRONIC_VERSION=0.2.33
|
||||||
|
|
||||||
LABEL version="${VERSION}" \
|
LABEL version="${VERSION}" \
|
||||||
Maintainer="H2 invent GmbH" \
|
Maintainer="H2 invent GmbH" \
|
||||||
Description="Docker Image der Anwendung Unsere Schulkindbetreuung" \
|
Description="Docker Image der Anwendung Unsere Schulkindbetreuung" \
|
||||||
|
@ -16,6 +17,7 @@ LABEL version="${VERSION}" \
|
||||||
org.opencontainers.image.url="https://unsere-schulkindbetreuung.de"
|
org.opencontainers.image.url="https://unsere-schulkindbetreuung.de"
|
||||||
|
|
||||||
USER root
|
USER root
|
||||||
|
|
||||||
RUN apk --no-cache add \
|
RUN apk --no-cache add \
|
||||||
unzip \
|
unzip \
|
||||||
php83-xmlwriter \
|
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 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/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
|
&& 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 \
|
||||||
|
|
Loading…
Reference in a new issue