Skip to content

Commit

Permalink
Add CA Certificates to container
Browse files Browse the repository at this point in the history
  • Loading branch information
scheibling committed Sep 10, 2023
1 parent 1b4a079 commit d51ef75
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -43,8 +43,8 @@ jobs:
push: true
tags: |
ghcr.io/scheiblingco/smtp-relay:latest
ghcr.io/scheiblingco/smtp-relay:0.5.1
ghcr.io/scheiblingco/smtp-relay:0.5.2
docker.io/scheibling/smtp-relay:latest
docker.io/scheibling/smtp-relay:0.5.1
docker.io/scheibling/smtp-relay:0.5.2
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -13,6 +13,10 @@ FROM scratch
COPY --from=builder /build/smtp-relay /smtp-relay
COPY --from=builder /build/config.example.json /config.json

RUN apk --no-cache add ca-certificates \
&& update-ca-certificates \
&& rm -rf /var/cache/apk/*

EXPOSE 2525

CMD ["/smtp-relay"]

0 comments on commit d51ef75

Please sign in to comment.