Skip to content

Commit

Permalink
fix: dockerfile argument
Browse files Browse the repository at this point in the history
The `ARG` as missing, so `${SLIM_PACKAGES}` resolved to empty :(

Signed-off-by: Andrey Smirnov <[email protected]>
  • Loading branch information
smira committed Aug 17, 2024
1 parent 789a502 commit 70ff1cf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ FROM builder-${TARGETARCH} AS builder

FROM ${BASE_IMAGE} AS container-fat

ARG SLIM_PACKAGES
RUN clean-install \
--allow-change-held-packages \
${SLIM_PACKAGES} \
Expand Down Expand Up @@ -63,6 +64,7 @@ ENTRYPOINT ["/usr/local/bin/kubelet"]

FROM ${BASE_IMAGE} AS container-slim

ARG SLIM_PACKAGES
RUN clean-install \
--allow-change-held-packages \
${SLIM_PACKAGES}
Expand Down

0 comments on commit 70ff1cf

Please sign in to comment.