wintercms-docker (php-8)

Published 2025-12-29 12:00:05 +00:00 by ondrej

Installation

docker pull git.anzui.dev/wintercms/wintercms-docker:php-8
sha256:f758481bbee5dffa3cc42be8c7be783192bb82609cedff6720ebc400be008096

Image layers

ARG RELEASE
ARG LAUNCHPAD_BUILD_ARCH
LABEL org.opencontainers.image.ref.name=ubuntu
LABEL org.opencontainers.image.version=24.04
ADD file:ddf1aa62235de6657123492b19d27d937c25668011b5ebf923a3f019200f8540 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 curl --silent --location https://deb.nodesource.com/setup_22.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.3 libapache2-mod-php8.3 php8.3-fpm php-cli php-json php8.3-pcov php8.3-mysql php8.3-sqlite3 php8.3-gd php8.3-opcache php8.3-apcu php8.3-curl php8.3-imap php8.3-readline php8.3-common php8.3-mbstring php8.3-xml php8.3-zip php8.3-xdebug php8.3-soap php8.3-intl php8.3-xsl nodejs imagemagick php8.3-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.3 # 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.3/apache2/php.ini # buildkit
COPY scripts/30-docker-cli.ini /etc/php/8.3/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.ref.name ubuntu
org.opencontainers.image.version 24.04
Details
Container
2025-12-29 12:00:05 +00:00
26
OCI / Docker
linux/amd64
310 MiB
Versions (3) View all
php-7 2026-04-30
php-8.4 2026-04-22
php-8 2025-12-29