Skip to content
This repository was archived by the owner on Sep 10, 2024. It is now read-only.

Commit ef81119

Browse files
committed
docker: remove redundant target platform
1 parent 7012e32 commit ef81119

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ COPY ./translations/ /share/translations
173173
##################################
174174
## Runtime stage, debug variant ##
175175
##################################
176-
FROM --platform=${TARGETPLATFORM} gcr.io/distroless/cc-debian${DEBIAN_VERSION}:debug-nonroot AS debug
176+
FROM gcr.io/distroless/cc-debian${DEBIAN_VERSION}:debug-nonroot AS debug
177177

178178
ARG TARGETARCH
179179
COPY --from=builder /usr/local/bin/mas-cli-${TARGETARCH} /usr/local/bin/mas-cli
@@ -185,7 +185,7 @@ ENTRYPOINT ["/usr/local/bin/mas-cli"]
185185
###################
186186
## Runtime stage ##
187187
###################
188-
FROM --platform=${TARGETPLATFORM} gcr.io/distroless/cc-debian${DEBIAN_VERSION}:nonroot
188+
FROM gcr.io/distroless/cc-debian${DEBIAN_VERSION}:nonroot
189189

190190
ARG TARGETARCH
191191
COPY --from=builder /usr/local/bin/mas-cli-${TARGETARCH} /usr/local/bin/mas-cli

0 commit comments

Comments
 (0)