Skip to content

Commit d5777ae

Browse files
committed
fix for multi stage
1 parent 682d3bc commit d5777ae

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

deploy/skaffold/Dockerfile.deps

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ RUN \
115115
RUN chmod +x bazel
116116

117117
FROM ${BASE_PREFIX}ubuntu:24.04 as runtime_deps
118+
ARG BASE_PREFIX
118119

119120
RUN apt-get update && \
120121
apt-get install --no-install-recommends --no-install-suggests -y \
@@ -124,7 +125,7 @@ RUN apt-get update && \
124125
# https://docs.docker.com/engine/release-notes
125126
COPY --from=${BASE_PREFIX}docker:28.1.1 /usr/local/bin/docker /usr/local/bin/
126127
# https://hub.docker.com/r/docker/buildx-bin/tags
127-
COPY --from=mirror.gcr.io/docker/buildx-bin:0.23.0 /buildx /usr/libexec/docker/cli-plugins/docker-buildx
128+
COPY --from=${BASE_PREFIX}docker/buildx-bin:0.23.0 /buildx /usr/libexec/docker/cli-plugins/docker-buildx
128129
COPY --from=download-kubectl kubectl /usr/local/bin/
129130
COPY --from=download-helm helm /usr/local/bin/
130131
COPY --from=download-kustomize kustomize /usr/local/bin/
@@ -153,6 +154,7 @@ RUN gcloud auth configure-docker && gcloud components install --quiet \
153154
log-streaming
154155

155156
FROM runtime_deps
157+
ARG BASE_PREFIX
156158
ENV DEBIAN_FRONTEND=noninteractive
157159
RUN apt-get update && apt-get install --no-install-recommends --no-install-suggests -y \
158160
curl \

0 commit comments

Comments
 (0)