Skip to content

Commit a55075f

Browse files
authored
Merge pull request #2042 from Sma-Das/patch-1
2 parents 06f1982 + a744377 commit a55075f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,7 @@ RUN npm run build
2929
#########################################
3030
# We are using Github Actions: redhat-actions/buildah-build@v2 which needs manual selection of arch in base image
3131
# Remove TARGETARCH if docker buildx is supported in the CI release as --platform=$TARGETPLATFORM will be automatically set
32-
ARG TARGETARCH
3332
ARG TARGETPLATFORM
34-
FROM ${TARGETARCH}/nginx:stable-alpine AS cyberchef
33+
FROM --platform=${TARGETPLATFORM} nginx:stable-alpine AS cyberchef
3534

3635
COPY --from=builder /app/build/prod /usr/share/nginx/html/

0 commit comments

Comments
 (0)