ADD file:f74dfa5d345e76f1f4d9df6077b0cdeaa5b5171f6b548ed1cac475f14515a809 in / |
/bin/sh -c mv -f /etc/yum.repos.d/ubi.repo /tmp || : |
ADD file:ecc29a1455ca1b7c82018555e16e2e802135974523df6748e431f8707e759ddd in /tmp/tls-ca-bundle.pem |
ADD multi:655128808f9801300e5f5790b55c073636035214aee6c75e0582afd288da8973 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=1552 |
ADD file:ef91ccf9344b424c8ead898c7856a891de97edf7461478fa846b6deffe2e8379 in /root/buildinfo/content_manifests/ubi9-minimal-container-9.3-1552.json |
ADD file:75532600b86e8dbdc355d76b86fe28e825754c0d0a529f9282427ca23ab066ef in /root/buildinfo/Dockerfile-ubi9-minimal-9.3-1552 |
LABEL "distribution-scope"="public" "vendor"="Red Hat, Inc." "build-date"="2024-01-17T19:05:39" "architecture"="x86_64" "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-1552" |
/bin/sh -c rm -f '/etc/yum.repos.d/repo-cbf3a.repo' '/etc/yum.repos.d/repo-a4968.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 nano python3 python3-pip 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 && pip install yacron && microdnf remove -y 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 |
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 |
COPY .github/docker/yacron.yaml /etc/yacron.yaml # buildkit |
EXPOSE map[8080/tcp:{}] |
CMD ["/usr/bin/supervisord" "--configuration=/etc/supervisord.conf"] |