Skip to content

Commit

Permalink
Add new Amazon RDS CA certs.
Browse files Browse the repository at this point in the history
  • Loading branch information
sengi committed Nov 8, 2023
1 parent e5c586a commit a4718e4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,11 @@ FROM scratch
COPY --from=builder /src/router /bin/router
COPY --from=builder /usr/share/ca-certificates /usr/share/ca-certificates
COPY --from=builder /etc/ssl /etc/ssl
# TODO: remove rds-combined-ca-bundle.pem once app is using global-bundle.pem.
ADD https://s3.amazonaws.com/rds-downloads/rds-combined-ca-bundle.pem \
/etc/ssl/certs/rds-combined-ca-bundle.pem
ADD https://truststore.pki.rds.amazonaws.com/global/global-bundle.pem \
/etc/ssl/certs/rds-global-bundle.pem
USER 1001
CMD ["/bin/router"]
LABEL org.opencontainers.image.source="https://github.com/alphagov/router"
Expand Down

0 comments on commit a4718e4

Please sign in to comment.