application (5.1.11)

Published 2024-11-18 19:20:08 +01:00 by holzi1005

Installation

docker pull git.h2-invent.com/unsere-schulkindbetreuung/application:5.1.11
sha256:c95f70b32246833e4a1efd7e36b8673396c1e2866e879c1f1105fde457f64a73

Image layers

ADD file:5758b97d8301c84a204a6e516241275d785a7cade40b2fb99f01fe122482e283 in /
CMD ["/bin/sh"]
LABEL Maintainer=Ernesto Serrano <info@ernesto.es> Description=Lightweight container with Nginx & PHP-FPM based on Alpine Linux.
RUN /bin/sh -c apk --no-cache add php83 php83-ctype php83-curl php83-dom php83-exif php83-fileinfo php83-fpm php83-gd php83-iconv php83-intl php83-json php83-mbstring php83-mysqli php83-opcache php83-openssl php83-pecl-apcu php83-pdo php83-pdo_mysql php83-pgsql php83-phar php83-session php83-simplexml php83-soap php83-sodium php83-tokenizer php83-xml php83-xmlreader php83-zip php83-zlib nginx runit curl && apk add --no-cache --virtual .gettext gettext && mv /usr/bin/envsubst /tmp/ && runDeps="$( scanelf --needed --nobanner /tmp/envsubst | awk '{ gsub(/,/, "\nso:", $2); print "so:" $2 }' | sort -u | xargs -r apk info --installed | sort -u )" && apk add --no-cache $runDeps && apk del .gettext && mv /tmp/envsubst /usr/local/bin/ && rm -rf /var/cache/apk/* && rm /etc/nginx/http.d/default.conf && mkdir -p /run /var/lib/nginx /var/www/html /var/log/nginx && chown -R nobody:nobody /run /var/lib/nginx /var/www/html /var/log/nginx # buildkit
COPY --chown=nobody rootfs/ / # buildkit
USER nobody
WORKDIR /var/www/html
EXPOSE map[8080/tcp:{}]
ENTRYPOINT ["/bin/docker-entrypoint.sh"]
HEALTHCHECK &{["CMD-SHELL" "curl --silent --fail http://127.0.0.1:8080/fpm-ping || exit 1"] "0s" "10s" "0s" "0s" '\x00'}
ENV nginx_root_directory=/var/www/html client_max_body_size=2M clear_env=no allow_url_fopen=On allow_url_include=Off display_errors=Off file_uploads=On max_execution_time=0 max_input_time=-1 max_input_vars=1000 memory_limit=128M post_max_size=8M upload_max_filesize=2M zlib_output_compression=On
ARG VERSION
ARG SUPERCRONIC_VERSION=0.2.33
LABEL version=5.1.11 Maintainer=H2 invent GmbH Description=Docker Image der Anwendung Unsere Schulkindbetreuung org.opencontainers.version=5.1.11 org.opencontainers.image.title=Unsere Schulkindbetreuung org.opencontainers.image.license=INTERNAL org.opencontainers.image.vendor=H2 invent GmbH org.opencontainers.image.authors=Andreas Holzmann <support@h2-invent.com> org.opencontainers.image.source=https://github.com/h2-invent/skb org.opencontainers.image.documentation=https://unsere-schulkindbetreuung.de org.opencontainers.image.url=https://unsere-schulkindbetreuung.de
USER root
RUN |2 VERSION=5.1.11 SUPERCRONIC_VERSION=0.2.33 /bin/sh -c apk --no-cache add unzip php83-xmlwriter php83-xsl php83-pcntl php83-posix php83-sockets && rm -rf /var/cache/apk/* # buildkit
RUN |2 VERSION=5.1.11 SUPERCRONIC_VERSION=0.2.33 /bin/sh -c sed -i 's/^date.timezone=.*$/date.timezone="Europe\/Berlin"/' /etc/php83/conf.d/custom.ini # buildkit
RUN |2 VERSION=5.1.11 SUPERCRONIC_VERSION=0.2.33 /bin/sh -c echo "Europe/Berlin" > /etc/timezone # buildkit
RUN |2 VERSION=5.1.11 SUPERCRONIC_VERSION=0.2.33 /bin/sh -c wget https://github.com/aptible/supercronic/releases/download/v${SUPERCRONIC_VERSION}/supercronic-linux-amd64 -O /supercronic && chmod +x /supercronic # buildkit
RUN |2 VERSION=5.1.11 SUPERCRONIC_VERSION=0.2.33 /bin/sh -c 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 # buildkit
RUN |2 VERSION=5.1.11 SUPERCRONIC_VERSION=0.2.33 /bin/sh -c mkdir /etc/service/cron && echo "#!/bin/sh" > /etc/service/cron/run && echo "exec 2>&1 /supercronic /var/crontab" >> /etc/service/cron/run && chown -R nobody:nobody /etc/service/cron && chmod -R +x /etc/service/cron # buildkit
RUN |2 VERSION=5.1.11 SUPERCRONIC_VERSION=0.2.33 /bin/sh -c echo "# Docker Cron Jobs" > /var/crontab && echo "*/10 * * * * php /var/www/html/bin/console app:stats" >> /var/crontab && echo "" >> /var/crontab && chown nobody:nobody /var/crontab # buildkit
RUN |2 VERSION=5.1.11 SUPERCRONIC_VERSION=0.2.33 /bin/sh -c echo "#!/bin/sh" > /docker-entrypoint-init.d/02-symfony.sh && echo "php bin/console cache:clear" >> /docker-entrypoint-init.d/02-symfony.sh && echo "php bin/console doc:mig:mig --no-interaction" >> /docker-entrypoint-init.d/02-symfony.sh && echo "php bin/console cache:clear" >> /docker-entrypoint-init.d/02-symfony.sh && chmod +x /docker-entrypoint-init.d/02-symfony.sh # buildkit
RUN |2 VERSION=5.1.11 SUPERCRONIC_VERSION=0.2.33 /bin/sh -c ARTIFACT_USER=$(cat /run/secrets/ARTIFACT_USER) ARTIFACT_SECRET=$(cat /run/secrets/ARTIFACT_SECRET) ARTIFACT_URL=$(cat /run/secrets/ARTIFACT_URL) && wget https://${ARTIFACT_USER}:${ARTIFACT_SECRET}@${ARTIFACT_URL}-${VERSION}.zip -O artifact.zip && unzip artifact.zip && chown -R nobody public && chown -R nobody var && chmod -R 700 public && chmod -R 700 var # buildkit
RUN |2 VERSION=5.1.11 SUPERCRONIC_VERSION=0.2.33 /bin/sh -c rm artifact.zip && rm -r var/cache # buildkit
USER nobody
ENV nginx_root_directory=/var/www/html/public memory_limit=1024M post_max_size=20M upload_max_filesize=10M PHP_DATE_TIMEZONE=Europe/Berlin

Labels

Key Value
Description Docker Image der Anwendung Unsere Schulkindbetreuung
Maintainer H2 invent GmbH
org.opencontainers.image.authors Andreas Holzmann <support@h2-invent.com>
org.opencontainers.image.documentation https://unsere-schulkindbetreuung.de
org.opencontainers.image.license INTERNAL
org.opencontainers.image.source https://github.com/h2-invent/skb
org.opencontainers.image.title Unsere Schulkindbetreuung
org.opencontainers.image.url https://unsere-schulkindbetreuung.de
org.opencontainers.image.vendor H2 invent GmbH
org.opencontainers.version 5.1.11
version 5.1.11
Details
Container
2024-11-18 19:20:08 +01:00
7
OCI / Docker
linux/amd64
Andreas Holzmann <support@h2-invent.com>
178 MiB
Versions (16) View all
latest 2025-04-01
5.2.13 2025-04-01
5.2.12 2025-03-31
5.2.11 2025-03-28
5.2.10 2025-03-26