Skip to content

Commit

Permalink
Merge pull request #30 from CDCgov/story-1075-root_certificates
Browse files Browse the repository at this point in the history
1075: Add Trusted Root Certificates
  • Loading branch information
halprin authored May 22, 2024
2 parents b3d98ef + beb6b47 commit 4e4e8d3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ ENV GOOS=linux
ENV GOARCH=amd64
ENV CGO_ENABLED=0

RUN apt update
RUN apt update && apt install -y --no-install-recommends ca-certificates && apt clean

WORKDIR /opt/build/

Expand All @@ -15,6 +15,7 @@ RUN make compile

FROM scratch

COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
COPY --from=builder /opt/build/reportstream-sftp-ingestion /usr/local/bin/reportstream-sftp-ingestion

ENTRYPOINT ["/usr/local/bin/reportstream-sftp-ingestion"]

0 comments on commit 4e4e8d3

Please sign in to comment.