wintercms-docker (php-7)

Published 2026-04-30 18:04:20 +00:00 by ondrej

Installation

docker pull git.anzui.dev/wintercms/wintercms-docker:php-7
sha256:2bc098aea7aa57c68850829df139c426e5d5f2e0d91420a6e39e36a5c35b830b

Image layers

ARG RELEASE
ARG LAUNCHPAD_BUILD_ARCH
LABEL org.opencontainers.image.ref.name=ubuntu
LABEL org.opencontainers.image.version=20.04
ADD file:f9ee450324e6ff2c946bc9aae5cf7e35e240dbd387d8b9f5ee1ed5b8434b9894 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 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_16.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 --force-yes apache2 sqlite3 php-fpm php-cli php-mysql php-sqlite3 php-gd php-opcache php-apcu php-curl php-imap php-readline php-common php-mbstring php-xml php-zip php-xdebug php-soap php-intl php-xsl libapache2-mod-php nodejs imagemagick php-imagick ghostscript mysql-client sendmail cron unzip # 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 # buildkit
RUN /bin/sh -c phpdismod xdebug # buildkit
RUN /bin/sh -c a2enmod rewrite headers # 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/7.4/apache2/php.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 20.04
Details
Container
2026-04-30 18:04:20 +00:00
1
OCI / Docker
linux/amd64
263 MiB
Versions (3) View all
php-7 2026-04-30
php-8.4 2026-04-22
php-8 2025-12-29