This repository was archived by the owner on Sep 10, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -173,7 +173,7 @@ COPY ./translations/ /share/translations
173
173
# #################################
174
174
# # Runtime stage, debug variant ##
175
175
# #################################
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
177
177
178
178
ARG TARGETARCH
179
179
COPY --from=builder /usr/local/bin/mas-cli-${TARGETARCH} /usr/local/bin/mas-cli
@@ -185,7 +185,7 @@ ENTRYPOINT ["/usr/local/bin/mas-cli"]
185
185
# ##################
186
186
# # Runtime stage ##
187
187
# ##################
188
- FROM --platform=${TARGETPLATFORM} gcr.io/distroless/cc-debian${DEBIAN_VERSION}:nonroot
188
+ FROM gcr.io/distroless/cc-debian${DEBIAN_VERSION}:nonroot
189
189
190
190
ARG TARGETARCH
191
191
COPY --from=builder /usr/local/bin/mas-cli-${TARGETARCH} /usr/local/bin/mas-cli
Original file line number Diff line number Diff line change @@ -19,9 +19,9 @@ COPY ./package.json ./package-lock.json ./
19
19
RUN sed -i '/"prepare"/d' package.json
20
20
RUN --network=default \
21
21
npm ci \
22
- --target_arch=amd64 \
23
- --target_platform=linux \
24
- --omit=dev
22
+ --target_arch=amd64 \
23
+ --target_platform=linux \
24
+ --omit=dev
25
25
26
26
WORKDIR /deps/amd64
27
27
@@ -30,13 +30,13 @@ COPY ./package.json ./package-lock.json ./
30
30
RUN sed -i '/"prepare"/d' package.json
31
31
RUN --network=default \
32
32
npm ci \
33
- --target_arch=x64 \
34
- --target_platform=linux \
35
- --omit=dev
33
+ --target_arch=x64 \
34
+ --target_platform=linux \
35
+ --omit=dev
36
36
37
37
38
38
# Runtime stage
39
- FROM --platform=${TARGETPLATFORM} gcr.io/distroless/nodejs18-debian12:debug-nonroot
39
+ FROM gcr.io/distroless/nodejs18-debian12:debug-nonroot
40
40
41
41
WORKDIR /syn2mas
42
42
COPY ./package.json ./package-lock.json ./
You can’t perform that action at this time.
0 commit comments