cloud-hosting-platform

cac (sha256:2b90affd4757953b2ac863da377e28c9a5778aef2576b5a9e6ff6ce36654cf9e)

Published 2025-08-13 14:42:08 +00:00 by whp-cicd-user in cloud-hosting-platform/cloud-apache-container

Installation

docker pull repo.anhonesthost.net/cloud-hosting-platform/cac@sha256:2b90affd4757953b2ac863da377e28c9a5778aef2576b5a9e6ff6ce36654cf9e
sha256:2b90affd4757953b2ac863da377e28c9a5778aef2576b5a9e6ff6ce36654cf9e

Image Layers

COPY / / # buildkit
ENV LANG=C.utf8
CMD ["/bin/bash"]
ARG PHPVER=81
RUN |1 PHPVER=81 /bin/sh -c dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm https://rpms.remirepo.net/enterprise/remi-release-9.rpm && dnf update -y && dnf install -y httpd mod_ssl wget procps cronie iproute postgresql-devel microdnf less git nano rsync unzip zip mariadb bind-utils jq patch nc tree dos2unix && dnf clean all && rm -rf /var/cache/dnf /usr/share/doc /usr/share/man /usr/share/locale/* # buildkit
COPY ./scripts/ /scripts/ # buildkit
RUN |1 PHPVER=81 /bin/sh -c chmod +x /scripts/* # buildkit
RUN |1 PHPVER=81 /bin/sh -c openssl req -newkey rsa:2048 -nodes -keyout /etc/pki/tls/private/localhost.key -x509 -days 3650 -subj "/CN=localhost" -out /etc/pki/tls/certs/localhost.crt && mkdir -p /run/php-fpm/ && /scripts/install-php$PHPVER.sh && rm -rf /tmp/* # buildkit
RUN |1 PHPVER=81 /bin/sh -c curl -L -o /usr/local/bin/wp https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar && chmod +x /usr/local/bin/wp # buildkit
RUN |1 PHPVER=81 /bin/sh -c curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer && chmod +x /usr/local/bin/composer # buildkit
COPY ./configs/default-index.conf /etc/httpd/conf.d/ # buildkit
COPY ./configs/prod-php.ini /etc/php.ini # buildkit
COPY ./configs/phpinfo.php /var/www/html/ # buildkit
COPY ./configs/mariadb.repo /etc/yum.repos.d/ # buildkit
COPY ./configs/index.php /var/www/html/ # buildkit
COPY ./configs/remote_ip.conf /etc/httpd/conf.d/ # buildkit
RUN |1 PHPVER=81 /bin/sh -c echo "15 */12 * * * root /scripts/log-rotate.sh" >> /etc/crontab # buildkit
HEALTHCHECK &{["CMD-SHELL" "curl -f http://localhost/ || exit 1"] "30s" "5s" "1m0s" "0s" '\x03'}
ENTRYPOINT ["/scripts/entrypoint.sh"]
Details
Container
2025-08-13 14:42:08 +00:00
2
OCI / Docker
linux/amd64
441 MiB
Versions (7) View all
latest 2025-08-13
php84 2025-08-13
php83 2025-08-13
php82 2025-08-13
php81 2025-08-13