Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,10 @@ COPY . .
RUN make build

FROM ${base_image}
# Ensure CA certificates are present so pack can make TLS connections (e.g. to
# pull builder and run images from registries). The distroless base bundles
# them, but ubuntu:jammy used for the -base image does not, so copy the bundle
# from the builder stage to cover every base image. See #2488.
COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
COPY --from=builder /app/out/pack /usr/local/bin/pack
ENTRYPOINT [ "/usr/local/bin/pack" ]
Loading