Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove args and depict the image in From directive #5465

Merged
merged 10 commits into from
May 20, 2024
Merged
7 changes: 2 additions & 5 deletions docker/base/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
ARG cert_image=alpine:3.19.0
ARG root_image=alpine:3.19.0

FROM $cert_image AS cert
FROM alpine:3.19.0 AS cert
RUN apk add --update --no-cache ca-certificates mailcap

FROM $root_image
FROM alpine:3.19.0
COPY --from=cert /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
COPY --from=cert /etc/mime.types /etc/mime.types
Loading