cac (sha256:9b7f476856b8b7ba9c06cc274aa18092e0ace59eb3cbaa6b1c444d894e4b2299)
Published 2025-07-31 17:31:36 +00:00 by whp-cicd-user in cloud-hosting-platform/cloud-apache-container
Installation
docker pull repo.anhonesthost.net/cloud-hosting-platform/cac@sha256:9b7f476856b8b7ba9c06cc274aa18092e0ace59eb3cbaa6b1c444d894e4b2299
sha256:9b7f476856b8b7ba9c06cc274aa18092e0ace59eb3cbaa6b1c444d894e4b2299
Image Layers
COPY / / # buildkit |
ENV LANG=C.utf8 |
CMD ["/bin/bash"] |
ARG PHPVER=84 |
RUN |1 PHPVER=84 /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=84 /bin/sh -c chmod +x /scripts/* # buildkit |
RUN |1 PHPVER=84 /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=84 /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=84 /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"] |