cac (sha256:ba1bc7ef506ba9d638dec6a10b5955e570054a1ce0c5361262305237ca1919f1)

Published 2024-10-16 01:51:05 +00:00 by jknapp in cloud-hosting-platform/cloud-apache-container

Installation

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

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 # 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
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"]
Details
Container
2024-10-16 01:51:05 +00:00
1
OCI / Docker
linux/amd64
182 MiB
Versions (1) View all
latest 2024-10-16