ADD file:7ba972e538cfd486a9ead8e6c555a813a0fdd8c971fece26107d633360ca400e in / |
/bin/sh -c mv -f /etc/yum.repos.d/ubi.repo /tmp || : |
ADD file:ecc29a1455ca1b7c82018555e16e2e802135974523df6748e431f8707e759ddd in /tmp/tls-ca-bundle.pem |
ADD multi:8257bc82024891d335e91a6d5e44bb825bdb87abe8bc1d2ee3fcfb9e8cbecea1 in /etc/yum.repos.d/ |
LABEL maintainer="Red Hat, Inc." |
LABEL com.redhat.component="ubi9-minimal-container" name="ubi9-minimal" version="9.3" |
LABEL com.redhat.license_terms="https://www.redhat.com/en/about/red-hat-end-user-license-agreements#UBI" |
LABEL summary="Provides the latest release of the minimal Red Hat Universal Base Image 9." |
LABEL description="The Universal Base Image Minimal is a stripped down image that uses microdnf as a package manager. This base image is freely redistributable, but Red Hat only supports Red Hat technologies through subscriptions for Red Hat products. This image is maintained by Red Hat and updated regularly." |
LABEL io.k8s.display-name="Red Hat Universal Base Image 9 Minimal" |
LABEL io.openshift.expose-services="" |
LABEL io.openshift.tags="minimal rhel9" |
ENV container oci |
ENV PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin |
CMD ["/bin/bash"] |
/bin/sh -c rm -rf /var/log/* |
LABEL release=1475 |
ADD file:81f4709f6c901cfae1353cf48b313f40bcb74c28a4a486b53e093a5b3d4a8b47 in /root/buildinfo/content_manifests/ubi9-minimal-container-9.3-1475.json |
ADD file:1ff4ce5b17d000737bdcb251e3ecc8506100fc38c8fdd75265dcf2699f35103c in /root/buildinfo/Dockerfile-ubi9-minimal-9.3-1475 |
LABEL "distribution-scope"="public" "vendor"="Red Hat, Inc." "build-date"="2023-12-07T04:10:36" "architecture"="aarch64" "vcs-type"="git" "vcs-ref"="e8510c65a9be4b0635372fd09bee126ce7e08bc7" "io.k8s.description"="The Universal Base Image Minimal is a stripped down image that uses microdnf as a package manager. This base image is freely redistributable, but Red Hat only supports Red Hat technologies through subscriptions for Red Hat products. This image is maintained by Red Hat and updated regularly." "url"="https://access.redhat.com/containers/#/registry.access.redhat.com/ubi9-minimal/images/9.3-1475" |
/bin/sh -c rm -f '/etc/yum.repos.d/repo-84783.repo' '/etc/yum.repos.d/repo-186d3.repo' |
/bin/sh -c rm -f /tmp/tls-ca-bundle.pem |
/bin/sh -c mv -fZ /tmp/ubi.repo /etc/yum.repos.d/ubi.repo || : |
RUN /bin/sh -c microdnf update -y && rpm --install https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm && rpm --install https://rpms.remirepo.net/enterprise/remi-release-9.rpm && microdnf update -y && microdnf install -y ca-certificates shadow-utils tar tzdata unzip wget && microdnf reinstall -y tzdata && microdnf module -y reset php && microdnf module -y enable php:remi-8.2 && microdnf install -y composer cronie php-{bcmath,cli,common,fpm,gd,gmp,intl,json,mbstring,mysqlnd,opcache,pdo,pecl-redis5,pecl-zip,phpiredis,pgsql,process,sodium,xml,zstd} supervisor && rm /etc/php-fpm.d/www.conf && useradd --home-dir /var/lib/caddy --create-home caddy && mkdir /etc/caddy && wget -O /usr/local/bin/yacron https://github.com/gjcarneiro/yacron/releases/download/0.17.0/yacron-0.17.0-x86_64-unknown-linux-gnu && chmod 755 /usr/local/bin/yacron && microdnf remove -y tar wget && microdnf clean all # buildkit |
COPY /var/www/pterodactyl /var/www/pterodactyl # buildkit |
WORKDIR /var/www/pterodactyl |
RUN /bin/sh -c mkdir -p /tmp/pterodactyl/cache /tmp/pterodactyl/framework/{cache,sessions,views} storage/framework && rm -rf bootstrap/cache storage/framework/sessions storage/framework/views storage/framework/cache && ln -s /tmp/pterodactyl/cache /var/www/pterodactyl/bootstrap/cache && ln -s /tmp/pterodactyl/framework/cache /var/www/pterodactyl/storage/framework/cache && ln -s /tmp/pterodactyl/framework/sessions /var/www/pterodactyl/storage/framework/sessions && ln -s /tmp/pterodactyl/framework/views /var/www/pterodactyl/storage/framework/views && chmod -R 755 /var/www/pterodactyl/storage/* /tmp/pterodactyl/cache && chown -R caddy:caddy /var/www/pterodactyl /tmp/pterodactyl/{cache,framework} # buildkit |
COPY .github/docker/crontab /etc/crontab.tmp # buildkit |
RUN /bin/sh -c crontab /etc/crontab.tmp && rm -rf /etc/crontab.tmp # buildkit |
USER caddy |
ENV USER=caddy |
RUN /bin/sh -c composer install --no-dev --optimize-autoloader && rm -rf bootstrap/cache/*.php && rm -rf .env storage/logs/*.log # buildkit |
COPY /usr/bin/caddy /usr/local/bin/caddy # buildkit |
COPY .github/docker/Caddyfile /etc/caddy/Caddyfile # buildkit |
COPY .github/docker/php-fpm.conf /etc/php-fpm.conf # buildkit |
COPY .github/docker/supervisord.conf /etc/supervisord.conf # buildkit |
EXPOSE map[8080/tcp:{}] |
RUN /bin/sh -c chown $USER /proc/self/fd/{1,2} # buildkit |
USER root |
CMD ["/usr/bin/supervisord" "--configuration=/etc/supervisord.conf"] |