wintercms-docker (php-8.4)

Published 2026-04-22 19:32:26 +00:00 by ondrej

Installation

docker pull git.anzui.dev/wintercms/wintercms-docker:php-8.4
sha256:e8577193a4f7943c79b3de5a6e975be3ead85a790f1accab9bbb7431ebec3e6d

Image layers

ARG RELEASE
ARG LAUNCHPAD_BUILD_ARCH
LABEL org.opencontainers.image.version=24.04
ADD file:8ce1caf246e7c778bca84c516d02fd4e83766bb2c530a0fffa8a351b560a2728 in /
CMD ["/bin/bash"]
ENV DEBIAN_FRONTEND=noninteractive
ENV APACHE_RUN_USER=www-data
ENV APACHE_RUN_GROUP=www-data
ENV APACHE_PID_FILE=/var/run/apache2.pid
ENV APACHE_RUN_DIR=/var/run/apache2
ENV APACHE_LOCK_DIR=/var/lock/apache2
ENV APACHE_LOG_DIR=/var/log/apache2
ENV APACHE_USER_UID=0
RUN /bin/sh -c apt-get update || apt-get upgrade -y # buildkit
RUN /bin/sh -c apt-get install -y --fix-missing software-properties-common lsb-release gpg gnupg2 ca-certificates apt-transport-https curl dos2unix libmcrypt4 memcached re2c whois vim nano wget debconf-utils bzip2 git # buildkit
RUN /bin/sh -c add-apt-repository ppa:ondrej/php -y # buildkit
RUN /bin/sh -c curl --silent --location https://deb.nodesource.com/setup_24.x | bash - && apt-get update # buildkit
RUN /bin/sh -c echo "LC_ALL=de_DE.UTF-8" >> /etc/default/locale || locale-gen de_DE.UTF-8 || ln -sf /usr/share/zoneinfo/UTC /etc/localtime # buildkit
RUN /bin/sh -c apt-get update && apt-get install -y --fix-missing apache2 sqlite3 php8.4 libapache2-mod-php8.4 php8.4-fpm php-cli php-json php8.4-pcov php8.4-mysql php8.4-sqlite3 php8.4-gd php8.4-opcache php8.4-apcu php8.4-curl php8.4-imap php8.4-readline php8.4-common php8.4-mbstring php8.4-xml php8.4-zip php8.4-xdebug php8.4-soap php8.4-intl php8.4-xsl nodejs imagemagick php8.4-imagick ghostscript mysql-client sendmail cron unzip parallel # buildkit
RUN /bin/sh -c echo "include('/etc/mail/tls/starttls.m4')" >> /etc/mail/sendmail.mc echo "include('/etc/mail/tls/starttls.m4')" >> /etc/mail/submit.mc # buildkit
RUN /bin/sh -c phpenmod ssl pdo pdo_sqlite pdo_mysql gd curl # buildkit
RUN /bin/sh -c phpdismod xdebug # buildkit
RUN /bin/sh -c a2enmod rewrite headers php8.4 # buildkit
RUN /bin/sh -c curl -sS https://getcomposer.org/installer | php && mv composer.phar /usr/local/bin/composer && printf "\nPATH=\"~/.composer/vendor/bin:\$PATH\"\n" | tee -a ~/.bashrc # buildkit
RUN /bin/sh -c mkdir -p /var/www/.npm && chown :www-data /var/www/.npm && chmod g+rw /var/www/.npm # buildkit
RUN /bin/sh -c mkdir -p /var/www/.config && chown :www-data /var/www/.config && chmod g+rw /var/www/.config # buildkit
RUN /bin/sh -c apt-get autoclean && apt-get autoremove -y # buildkit
RUN /bin/sh -c touch /var/www/.babel.json # buildkit
VOLUME [/var/www/html]
COPY scripts/fix_permissions.sh /fix_permissions.sh # buildkit
COPY scripts/build.sh /build.sh # buildkit
COPY scripts/php.ini /etc/php/8.4/apache2/php.ini # buildkit
COPY scripts/30-docker-cli.ini /etc/php/8.4/cli/conf.d/30-docker-cli.ini # buildkit
COPY scripts/apache2-foreground /usr/local/bin/ # buildkit
COPY scripts/virtualhost.conf /etc/apache2/sites-available/000-default.conf # buildkit
COPY scripts/mpm_prefork.conf /etc/apache2/mods-enabled/mpm_prefork.conf # buildkit
RUN /bin/sh -c chmod u+rx /usr/local/bin/apache2-foreground # buildkit
RUN /bin/sh -c chmod o+rx /fix_permissions.sh # buildkit
RUN /bin/sh -c chmod o+rx /build.sh # buildkit
WORKDIR /var/www/html
EXPOSE [443/tcp 80/tcp]
ENTRYPOINT ["/bin/bash" "-c"]
CMD ["apache2-foreground"]

Labels

Key Value
org.opencontainers.image.version 24.04
Details
Container
2026-04-22 19:32:26 +00:00
7
OCI / Docker
linux/amd64
318 MiB
Versions (3) View all
php-7 2026-04-30
php-8.4 2026-04-22
php-8 2025-12-29