1
1
mirror of https://github.com/pterodactyl/panel.git synced 2024-11-22 17:12:30 +01:00

containerfile: remove platform arg

This commit is contained in:
Matthew Penner 2023-02-23 14:22:31 -07:00
parent 7241829da6
commit 8ae40a7c71
No known key found for this signature in database

View File

@ -1,5 +1,5 @@
# Stage 1 - Builder # Stage 1 - Builder
FROM --platform=$TARGETOS/$TARGETARCH registry.access.redhat.com/ubi9/nodejs-18-minimal AS builder FROM registry.access.redhat.com/ubi9/nodejs-18-minimal AS builder
USER 0 USER 0
RUN npm install -g yarn RUN npm install -g yarn
@ -25,7 +25,7 @@ COPY --chown=1001:0 .env.example ./.env
COPY --chown=1001:0 artisan CHANGELOG.md composer.json composer.lock LICENSE.md README.md SECURITY.md . COPY --chown=1001:0 artisan CHANGELOG.md composer.json composer.lock LICENSE.md README.md SECURITY.md .
# Stage 2 - Final # Stage 2 - Final
FROM --platform=$TARGETOS/$TARGETARCH registry.access.redhat.com/ubi9/ubi-minimal FROM registry.access.redhat.com/ubi9/ubi-minimal
RUN microdnf update -y \ RUN microdnf update -y \
&& rpm --install https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm \ && rpm --install https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm \