cac (sha256:0dac97c09f6c344ca43099ced4b559400a1fe2ce6f51c166896a23ad55a1a308)
Published 2024-12-18 05:54:15 +00:00 by whp-cicd-user in cloud-hosting-platform/cloud-apache-container
Installation
docker pull repo.anhonesthost.net/cloud-hosting-platform/cac@sha256:0dac97c09f6c344ca43099ced4b559400a1fe2ce6f51c166896a23ad55a1a308
sha256:0dac97c09f6c344ca43099ced4b559400a1fe2ce6f51c166896a23ad55a1a308
Image Layers
COPY / / # buildkit |
ENV LANG=C.utf8 |
CMD ["/bin/bash"] |
ARG PHPVER=81 |
RUN |1 PHPVER=81 /bin/sh -c dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm -y # buildkit |
RUN |1 PHPVER=81 /bin/sh -c dnf install -y https://rpms.remirepo.net/enterprise/remi-release-9.rpm # buildkit |
RUN |1 PHPVER=81 /bin/sh -c dnf update -y && dnf upgrade -y # buildkit |
RUN |1 PHPVER=81 /bin/sh -c dnf install -y httpd mod_ssl wget procps cronie iproute # 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 # buildkit |
RUN |1 PHPVER=81 /bin/sh -c mkdir /run/php-fpm/ # buildkit |
RUN |1 PHPVER=81 /bin/sh -c mkdir /scripts # buildkit |
COPY ./scripts/* /scripts/ # buildkit |
RUN |1 PHPVER=81 /bin/sh -c chmod +x /scripts/* # buildkit |
RUN |1 PHPVER=81 /bin/sh -c curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar # buildkit |
RUN |1 PHPVER=81 /bin/sh -c chmod +x wp-cli.phar # buildkit |
RUN |1 PHPVER=81 /bin/sh -c mv wp-cli.phar /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 |
RUN |1 PHPVER=81 /bin/sh -c yum clean all # buildkit |
ENTRYPOINT ["/scripts/entrypoint.sh"] |