public

php84-apache (latest)

Published 2026-10-22 15:59:40 +03:00 by starov

Installation

docker pull gitea.optiweb.ru/public/php84-apache:latest
sha256:d85130dec270d26eae0e2c9dddf2a588183ee5dc26ee98405d172c3a22bc96c3

About this package

The Ubuntu container image maintained by Canonical Ubuntu is a Debian-based Linux operating system that runs from the desktop to the cloud, to all your internet connected things. It is the world's most popular operating system across public clouds and OpenStack clouds. It is the number one platform for containers; from Docker to Kubernetes to LXD, Ubuntu can run your containers at scale. Fast, secure and simple, Ubuntu powers millions of PCs worldwide.

Image Layers

umoci raw add-layer --image /home/buildd/rockcraft-ubuntu-5691f940e215a35dc9b91fc1887cae39/images/ubuntu:rockcraft-base /home/buildd/rockcraft-ubuntu-5691f940e215a35dc9b91fc1887cae39/images/.temp_layer.4415.tar --tag 26.04
umoci config --image /home/buildd/rockcraft-ubuntu-5691f940e215a35dc9b91fc1887cae39/images/ubuntu:26.04 --clear=config.entrypoint --clear=config.cmd
umoci config --image /home/buildd/rockcraft-ubuntu-5691f940e215a35dc9b91fc1887cae39/images/ubuntu:26.04 --clear=config.cmd --config.cmd /bin/bash
umoci config --image /home/buildd/rockcraft-ubuntu-5691f940e215a35dc9b91fc1887cae39/images/ubuntu:26.04 --config.env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
umoci config --image /home/buildd/rockcraft-ubuntu-5691f940e215a35dc9b91fc1887cae39/images/ubuntu:26.04 --clear=config.labels --config.label org.opencontainers.image.version=26.04 --config.label org.opencontainers.image.title=ubuntu --config.label org.opencontainers.image.created=2026-04-21T17:23:54.324551+00:00 --config.label org.opencontainers.image.description=The Ubuntu container image maintained by Canonical Ubuntu is a Debian-based Linux operating system that runs from the desktop to the cloud, to all your internet connected things. It is the world's most popular operating system across public clouds and OpenStack clouds. It is the number one platform for containers; from Docker to Kubernetes to LXD, Ubuntu can run your containers at scale. Fast, secure and simple, Ubuntu powers millions of PCs worldwide.
umoci config --image /home/buildd/rockcraft-ubuntu-5691f940e215a35dc9b91fc1887cae39/images/ubuntu:26.04 --clear=manifest.annotations --manifest.annotation org.opencontainers.image.version=26.04 --manifest.annotation org.opencontainers.image.title=ubuntu --manifest.annotation org.opencontainers.image.created=2026-04-21T17:23:54.324551+00:00 --manifest.annotation org.opencontainers.image.description=The Ubuntu container image maintained by Canonical Ubuntu is a Debian-based Linux operating system that runs from the desktop to the cloud, to all your internet connected things. It is the world's most popular operating system across public clouds and OpenStack clouds. It is the number one platform for containers; from Docker to Kubernetes to LXD, Ubuntu can run your containers at scale. Fast, secure and simple, Ubuntu powers millions of PCs worldwide.
umoci raw add-layer --image /home/buildd/rockcraft-ubuntu-5691f940e215a35dc9b91fc1887cae39/images/ubuntu:26.04 /home/buildd/rockcraft-ubuntu-5691f940e215a35dc9b91fc1887cae39/images/.temp_layer.control_data.4415.tar
RUN /bin/sh -c mkdir /app # buildkit
WORKDIR /app
ENV APACHE_CONFDIR=/etc/apache2
ENV APACHE_ENVVARS=/etc/apache2/envvars
ENV LANG=ru_RU.UTF-8
ENV LANGUAGE=ru_RU:ru
ENV LC_LANG=ru_RU.UTF-8
ENV LC_ALL=ru_RU.UTF-8
ENV PHP_INI_SCAN_DIR=:/app/php
ENV PHP_CONF_DIR=/etc/php/8.4
ENV SUPERCRONIC_URL=https://github.com/aptible/supercronic/releases/download/v0.2.46/supercronic-linux-amd64
ENV COMPOSER_HOME=/app/.composer
ENV PATH=/app/vendor/bin:/app/.composer/vendor/bin:/app/.local/bin:/app/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
RUN /bin/sh -c apt-get update && apt-get install -y gnupg2 ubuntu-keyring lsb-release ca-certificates curl && sed -i 's|http://archive.ubuntu.com/ubuntu|https://mirror.yandex.ru/ubuntu|g; s|http://security.ubuntu.com/ubuntu|https://mirror.yandex.ru/ubuntu|g' /etc/apt/sources.list.d/ubuntu.sources && curl https://nginx.org/keys/nginx_signing.key | gpg --dearmor | tee /usr/share/keyrings/nginx-archive-keyring.gpg > /dev/null && curl -fsSL https://packages.fluentbit.io/fluentbit.key | gpg --dearmor > /usr/share/keyrings/fluentbit-keyring.gpg && CODENAME=$(lsb_release -cs) && echo "deb [signed-by=/usr/share/keyrings/nginx-archive-keyring.gpg] https://nginx.org/packages/ubuntu ${CODENAME} nginx" | tee /etc/apt/sources.list.d/nginx.list && printf 'Package: *\nPin: origin nginx.org\nPin-Priority: 900\n' > /etc/apt/preferences.d/99nginx && echo "deb [signed-by=/usr/share/keyrings/fluentbit-keyring.gpg] https://packages.fluentbit.io/ubuntu/${CODENAME} ${CODENAME} main" > /etc/apt/sources.list.d/fluent-bit.list && apt-get update && apt-get install -y --no-install-recommends pkg-config zlib1g libxml2-16 libbz2-1.0 libjpeg8 libcurl4t64 libcurl3t64-gnutls libmcrypt4 libfreetype6 libicu78 libzstd1 liblz4-1 libwebp7 libpq5 libxslt1.1 librabbitmq4 libmemcached11t64 libonig5 libsodium23 liblz4-1 liblzf1 libzip5 libyaml-0-2 locales zip unzip catdoc msmtp msmtp-mta tzdata git wget apache2 apache2-utils nginx supervisor fluent-bit && apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* && sed -i -e 's/# ru_RU.UTF-8 UTF-8/ru_RU.UTF-8 UTF-8/' /etc/locale.gen && locale-gen && ln -fs /usr/share/zoneinfo/Europe/Moscow /etc/localtime && dpkg-reconfigure -f noninteractive tzdata # buildkit
COPY etc/apache2/mods-available/* /etc/apache2/mods-available/ # buildkit
COPY etc/apache2/sites-available/* /etc/apache2/sites-available/ # buildkit
COPY etc/apache2/ports.conf /etc/apache2/ports.conf # buildkit
COPY etc/apache2/apache2.conf /etc/apache2/apache2.conf # buildkit
COPY etc/nginx/* /etc/nginx/ # buildkit
COPY etc/nginx/conf.d/default.conf /etc/nginx/conf.d/default.conf # buildkit
COPY usr/local/bin/sessionclean /usr/local/bin/sessionclean # buildkit
COPY usr/local/bin/sup-run /usr/local/bin/sup-run # buildkit
RUN /bin/sh -c set -eux; sed -ri 's/^export ([^=]+)=(.*)$/: ${\1:=\2}\nexport \1/' "$APACHE_ENVVARS"; . "$APACHE_ENVVARS"; for dir in "$APACHE_LOCK_DIR" "$APACHE_RUN_DIR" "$APACHE_LOG_DIR" ; do rm -rvf "$dir"; mkdir -p "$dir"; chown "$APACHE_RUN_USER:$APACHE_RUN_GROUP" "$dir"; chmod 777 "$dir"; done; rm -rvf /var/www/html/* # buildkit
RUN /bin/sh -c a2dismod -f deflate mpm_event mpm_worker && a2enmod mpm_prefork php84 rewrite remoteip && a2dissite 000-default && rm -rf /etc/apache2/sites-available/000-default.conf && rm -rf /etc/apache2/sites-available/default-ssl.conf && a2ensite default && wget -P /opt https://gitea.optiweb.ru/public/php-binary/releases/download/build-20261021-200502/php84.tar.gz && tar -xvf /opt/php84.tar.gz -C /opt && rm /opt/php84.tar.gz && rm -rf /opt/php84/sbin/ && rm -rf /opt/php84/bin/php-cgi && mkdir -p /etc/php/8.4/conf.d && mkdir -p /etc/php/8.4/apache && mkdir -p /etc/php/8.4/cli && ln -s /opt/php84/bin/php /usr/bin/php && ln -s /opt/php84/bin/php-config /usr/bin/php-config && ln -s /opt/php84/bin/phpize /usr/bin/phpize && ln -s /opt/php84/bin/phar /usr/bin/phar && mkdir -p /var/lib/php/sessions && chmod -R 1777 /var/lib/php/sessions && curl -sS https://getcomposer.org/installer | php && mv composer.phar /usr/local/bin/composer && chmod +x /usr/local/bin/sessionclean && chmod +x /usr/local/bin/sup-run && curl -fsSL "$SUPERCRONIC_URL" -o /usr/local/bin/supercronic && chmod +x /usr/local/bin/supercronic # buildkit
COPY etc/php/8.4/conf.d/* /etc/php/8.4/conf.d/ # buildkit
COPY etc/php/8.4/apache/* /etc/php/8.4/apache/ # buildkit
COPY etc/php/8.4/cli/* /etc/php/8.4/cli/ # buildkit
COPY etc/crontab /etc/crontab # buildkit
COPY etc/supervisor/supervisord.conf /etc/supervisor/ # buildkit
COPY etc/fluent-bit/ /etc/fluent-bit/ # buildkit
COPY entrypoint.sh /entrypoint.sh # buildkit
RUN /bin/sh -c chmod +x /entrypoint.sh # buildkit
EXPOSE [80/tcp]
ENTRYPOINT ["/entrypoint.sh"]
CMD ["/usr/bin/supervisord" "-c" "/etc/supervisor/supervisord.conf"]

Labels

Key Value
org.opencontainers.image.created 2026-04-21T17:23:54.324551+00:00
org.opencontainers.image.description The Ubuntu container image maintained by Canonical Ubuntu is a Debian-based Linux operating system that runs from the desktop to the cloud, to all your internet connected things. It is the world's most popular operating system across public clouds and OpenStack clouds. It is the number one platform for containers; from Docker to Kubernetes to LXD, Ubuntu can run your containers at scale. Fast, secure and simple, Ubuntu powers millions of PCs worldwide.
org.opencontainers.image.title ubuntu
org.opencontainers.image.version 26.04
Details
Container
2026-10-22 15:59:40 +03:00
4
OCI / Docker
linux/amd64
276 MiB
Versions (1) View all
latest 2026-10-22