Skip to content

Commit

Permalink
add RDS CA certs to all container dockerfiles
Browse files Browse the repository at this point in the history
  • Loading branch information
ships committed May 6, 2024
1 parent c613663 commit 5f400b9
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,14 @@ FROM node:${NODE_VERSION}-alpine as base
ARG PNPM_VERSION=8.14.3

# Install python deps for node-gyp
RUN apk add g++ make py3-pip
RUN apk add g++ make py3-pip ca-certificates curl

# Setup RDS CA Certificates

RUN curl -L \
-o /usr/local/share/ca-certificates/rds-global-bundle.pem \
https://truststore.pki.rds.amazonaws.com/global/global-bundle.pem \
&& update-ca-certificates

# Set working directory for all build stages.
WORKDIR /usr/src/app
Expand Down

0 comments on commit 5f400b9

Please sign in to comment.