integration-ssi

web (latest)

Published 2026-11-11 21:28:44 +01:00 by romane

Installation

docker pull gitea.eu.cozytren.ch/integration-ssi/web:latest
sha256:6f730257bf804def2ad15b39a289471879d28f60f658c2d819175f0d76ead7ec

Images

Digest OS / Arch Size
3449ae88b9 linux/amd64 117 MiB

Image Layers ( linux/amd64)

ADD alpine-minirootfs-3.24.4-x86_64.tar.gz / # buildkit
CMD ["/bin/sh"]
ARG PHP_SUFFIX=85
ARG PHP_MIN_VERSION=8.5.12
LABEL org.opencontainers.image.authors=Ernesto Serrano <info@ernesto.es> org.opencontainers.image.description=Lightweight container with Nginx & PHP-FPM based on Alpine Linux.
SHELL [/bin/ash -eo pipefail -c]
RUN |2 PHP_SUFFIX=85 PHP_MIN_VERSION=8.5.12 /bin/ash -eo pipefail -c case "$PHP_SUFFIX" in 8[0-4]) opcache="php${PHP_SUFFIX}-opcache" ;; *) opcache="" ;; esac && apk --no-cache add $opcache "php${PHP_SUFFIX}" "php${PHP_SUFFIX}-ctype" "php${PHP_SUFFIX}-curl" "php${PHP_SUFFIX}-dom" "php${PHP_SUFFIX}-exif" "php${PHP_SUFFIX}-fileinfo" "php${PHP_SUFFIX}-fpm" "php${PHP_SUFFIX}-gd" "php${PHP_SUFFIX}-iconv" "php${PHP_SUFFIX}-intl" "php${PHP_SUFFIX}-json" "php${PHP_SUFFIX}-mbstring" "php${PHP_SUFFIX}-mysqli" "php${PHP_SUFFIX}-openssl" "php${PHP_SUFFIX}-pecl-apcu" "php${PHP_SUFFIX}-pdo" "php${PHP_SUFFIX}-pdo_mysql" "php${PHP_SUFFIX}-pgsql" "php${PHP_SUFFIX}-phar" "php${PHP_SUFFIX}-session" "php${PHP_SUFFIX}-simplexml" "php${PHP_SUFFIX}-soap" "php${PHP_SUFFIX}-sodium" "php${PHP_SUFFIX}-sqlite3" "php${PHP_SUFFIX}-tokenizer" "php${PHP_SUFFIX}-xml" "php${PHP_SUFFIX}-xmlreader" "php${PHP_SUFFIX}-zip" "php${PHP_SUFFIX}-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 && ln -sf "php${PHP_SUFFIX}" /usr/bin/php # buildkit
RUN |2 PHP_SUFFIX=85 PHP_MIN_VERSION=8.5.12 /bin/ash -eo pipefail -c apk add --no-cache gnu-libiconv # buildkit
COPY /out/iconv.so /usr/lib/php85/modules/iconv.so # buildkit
RUN |2 PHP_SUFFIX=85 PHP_MIN_VERSION=8.5.12 /bin/ash -eo pipefail -c out="$(php -r 'echo iconv("UTF-8", "ASCII//TRANSLIT//IGNORE", "café");')" && echo "iconv TRANSLIT check: $out" && [ -n "$out" ] # buildkit
RUN |2 PHP_SUFFIX=85 PHP_MIN_VERSION=8.5.12 /bin/ash -eo pipefail -c [ -z "$PHP_MIN_VERSION" ] || php -r 'exit(version_compare(PHP_VERSION, getenv("PHP_MIN_VERSION"), ">=") ? 0 : 1);' || { echo "PHP $(php -r 'echo PHP_VERSION;') is older than $PHP_MIN_VERSION" >&2; exit 1; } # buildkit
COPY --chown=nobody rootfs/ / # buildkit
COPY --chown=nobody rootfs/etc/php85/ /etc/php85/ # buildkit
RUN |2 PHP_SUFFIX=85 PHP_MIN_VERSION=8.5.12 /bin/ash -eo pipefail -c [ "$PHP_SUFFIX" = 85 ] || rm -rf /etc/php85 # buildkit
USER nobody
WORKDIR /var/www/html
EXPOSE [8080/tcp]
ENTRYPOINT ["/bin/docker-entrypoint.sh"]
HEALTHCHECK {Test:[CMD-SHELL curl --silent --fail http://127.0.0.1:8080/fpm-ping || exit 1] Interval:0s Timeout:10s StartPeriod:0s StartInterval:0s Retries:0}
ENV PHP_SUFFIX=85 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 date_timezone=UTC intl_default_locale=en_US fastcgi_read_timeout=60s fastcgi_send_timeout=60s REAL_IP_HEADER=X-Forwarded-For REAL_IP_RECURSIVE=off REAL_IP_FROM= opcache_enable=0 opcache_memory_consumption=256 opcache_max_accelerated_files=20000 opcache_validate_timestamps=0 opcache_preload= realpath_cache_size=4096K realpath_cache_ttl=600
COPY /app/ /var/www/html/ # buildkit
COPY config/99-app.ini /etc/php85/conf.d/99-app.ini # buildkit
RUN /bin/ash -eo pipefail -c mkdir -p /var/www/html/uploads # buildkit

Labels

Key Value
com.docker.compose.project integration-ssi
com.docker.compose.service web
com.docker.compose.version 5.7.0
org.opencontainers.image.authors Ernesto Serrano <info@ernesto.es>
org.opencontainers.image.description Lightweight container with Nginx & PHP-FPM based on Alpine Linux.
Details
Container
2026-11-11 21:28:44 +01:00
2
OCI / Docker
Versions (1) View all
latest 2026-11-11