cloud-hosting-platform

cac (sha256:b8bd53d373695162919af2edc8a539db8a4b0c4a2b6dd68154dce8733836897a)

Published 2025-07-31 17:26:24 +00:00 by whp-cicd-user in cloud-hosting-platform/cloud-apache-container

Installation

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

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 && 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
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-07-31 17:26:24 +00:00
2
OCI / Docker
linux/amd64
418 MiB
Versions (7) View all
php84 2025-07-31
latest 2025-07-31
php83 2025-07-31
php82 2025-07-31
php81 2025-07-31