Skip to content
This repository was archived by the owner on Feb 7, 2025. It is now read-only.

1075: Add Trusted Root Certificates #30

Merged
merged 2 commits into from
May 22, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -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/

@@ -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"]