cnc (sha256:f54981ab08fa7e7b2e5ce5dac501ee4c972b96fea8076d97ee796a0cddcdf492)

Published 2024-10-01 21:38:18 +00:00 by jknapp in cloud-hosting-platform/cloud-nginx-container

Installation

docker pull repo.anhonesthost.net/cloud-hosting-platform/cnc@sha256:f54981ab08fa7e7b2e5ce5dac501ee4c972b96fea8076d97ee796a0cddcdf492
sha256:f54981ab08fa7e7b2e5ce5dac501ee4c972b96fea8076d97ee796a0cddcdf492

Image Layers

COPY / / # buildkit
ENV LANG=C.utf8
CMD ["/bin/bash"]
ARG PHPVER=81
RUN |1 PHPVER=81 /bin/sh -c dnf update -y && dnf upgrade -y # buildkit
RUN |1 PHPVER=81 /bin/sh -c dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm -y # buildkit
RUN |1 PHPVER=81 /bin/sh -c dnf install -y https://rpms.remirepo.net/enterprise/remi-release-8.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 memcached nginx wget procps # buildkit
RUN |1 PHPVER=81 /bin/sh -c mv /etc/nginx/nginx.conf /etc/nginx/nginx.bak # buildkit
COPY ./configs/nginx-default.conf /etc/nginx/nginx.conf # 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 /scripts/install-php$PHPVER.sh # 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/prod-php.ini /etc/php.ini # buildkit
COPY ./configs/mariadb.repo /etc/yum.repos.d/ # buildkit
RUN |1 PHPVER=81 /bin/sh -c yum clean all # buildkit
ENTRYPOINT ["/scripts/entrypoint.sh"]
Details
Container
2024-10-01 21:38:18 +00:00
0
OCI / Docker
linux/amd64
312 MiB
Versions (1) View all
latest 2024-10-01