narrenwerk (sha-ac7b98e8cb4e76f184963ae22acb0a58028887d8)

Published 2026-10-23 22:19:04 +02:00 by xniicki

Installation

docker pull gitea.xniicki.de/xniicki/narrenwerk:sha-ac7b98e8cb4e76f184963ae22acb0a58028887d8
sha256:0dc3093c99b839a49bce28afd1fa7b8c759d9207be9c769b281dcd773c28b19b

Images

Digest OS / Arch Size
2ea4bef538 linux/amd64 109 MiB

Image Layers ( linux/amd64)

# debian.sh --arch 'amd64' out/ 'trixie' '@1792531975'
ENV PHP_VERSION=8.4
RUN /bin/sh -c apt-get update && apt-get install -y --no-install-recommends ca-certificates curl && curl -sSLo /tmp/sury.deb https://packages.sury.org/debsuryorg-archive-keyring.deb && dpkg -i /tmp/sury.deb && rm /tmp/sury.deb && . /etc/os-release && echo "deb [signed-by=/usr/share/keyrings/debsuryorg-archive-keyring.gpg] https://packages.sury.org/php/ $VERSION_CODENAME main" > /etc/apt/sources.list.d/sury-php.list && apt-get update && apt-get install -y --no-install-recommends apache2 libapache2-mod-php$PHP_VERSION php$PHP_VERSION-cli php$PHP_VERSION-bcmath php$PHP_VERSION-curl php$PHP_VERSION-gd php$PHP_VERSION-intl php$PHP_VERSION-mbstring php$PHP_VERSION-mysql php$PHP_VERSION-opcache php$PHP_VERSION-sqlite3 php$PHP_VERSION-xml php$PHP_VERSION-zip && rm -rf /var/lib/apt/lists/* # buildkit
COPY docker/apache.conf /etc/apache2/sites-available/000-default.conf # buildkit
RUN /bin/sh -c a2enmod rewrite && a2disconf other-vhosts-access-log && ln -sfT /dev/stderr /var/log/apache2/error.log # buildkit
COPY /usr/bin/composer /usr/bin/composer # buildkit
WORKDIR /app
EXPOSE [80/tcp]
HEALTHCHECK {Test:[CMD-SHELL curl -fsS -o /dev/null http://127.0.0.1/up || exit 1] Interval:0s Timeout:0s StartPeriod:1m0s StartInterval:2s Retries:0}
STOPSIGNAL SIGWINCH
COPY docker/php.prod.ini /etc/php/8.4/apache2/conf.d/99-app.ini # buildkit
COPY docker/php.prod.ini /etc/php/8.4/cli/conf.d/99-app.ini # buildkit
COPY . . # buildkit
COPY /app/vendor ./vendor # buildkit
COPY /app/public/build public/build # buildkit
RUN /bin/sh -c composer dump-autoload --optimize --classmap-authoritative && chown -R www-data:www-data storage bootstrap/cache # buildkit
COPY docker/entrypoint.prod.sh /usr/local/bin/entrypoint # buildkit
RUN /bin/sh -c chmod +x /usr/local/bin/entrypoint # buildkit
ENTRYPOINT ["entrypoint"]
CMD ["sh" "-c" ". /etc/apache2/envvars && exec apache2 -DFOREGROUND"]

Labels

Key Value
org.opencontainers.image.revision ac7b98e8cb4e76f184963ae22acb0a58028887d8
org.opencontainers.image.source https://gitea.xniicki.de/xniicki/narrenwerk
Details
Container
2026-10-23 22:19:04 +02:00
0
OCI / Docker
Versions (29) View all