Skip to content

Commit

Permalink
chore: Change base image from scratch to busybox
Browse files Browse the repository at this point in the history
Signed-off-by: 陳鈞 <[email protected]>
  • Loading branch information
jim60105 committed Nov 25, 2024
1 parent 1ac524a commit 2ff6c1c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ RUN --mount=type=cache,id=apt-$TARGETARCH$TARGETVARIANT,sharing=locked,target=/v
########################################
# Final stage
########################################
FROM scratch AS final
FROM busybox:1 as final

ARG UID

Expand All @@ -60,7 +60,7 @@ COPY --link --from=compress /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
# https://docs.openshift.com/container-platform/4.14/openshift_images/create-images.html#use-uid_create-images
COPY --link --chown=$UID:0 --chmod=775 --from=compress /go/bin/ytarchive /

ENV PATH="/"
ENV PATH="/:$PATH"

WORKDIR /download

Expand Down

0 comments on commit 2ff6c1c

Please sign in to comment.