Correctly add CA certificates (#2542)
## Description This ensures that the CA certificates are not from some random version of Alpine but from the version we are using as a base image. ## Does this PR need a docs update or release note? - [x] ⛔ No ## Type of change - [x] 🐛 Bugfix - [x] 🧹 Tech Debt/Cleanup ## Issue(s) * #2529 ## Test Plan - [x] 💪 Manual
This commit is contained in:
parent
727416c6b0
commit
ffcc248398
@ -16,8 +16,7 @@ LABEL org.opencontainers.image.vendor="Alcion, Inc."
|
|||||||
|
|
||||||
COPY --from=builder /go/src/app/corso /corso
|
COPY --from=builder /go/src/app/corso /corso
|
||||||
|
|
||||||
# Pull tls certs directly from latest upstream image
|
RUN apk add --no-cache ca-certificates
|
||||||
COPY --from=alpine:latest /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
|
|
||||||
|
|
||||||
ENV CORSO_HOME=/app/corso
|
ENV CORSO_HOME=/app/corso
|
||||||
ENV CORSO_CONFIG_DIR=$CORSO_HOME \
|
ENV CORSO_CONFIG_DIR=$CORSO_HOME \
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user