Skip to content

Commit

Permalink
feat: add curl and openssl to image (#147)
Browse files Browse the repository at this point in the history
* feat: add curl and openssl to image

* feat: run openssl command

* feat: update certificates in image

* fix: fix typo
  • Loading branch information
bsushmith authored Mar 23, 2022
1 parent 2746cd9 commit c020144
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
FROM alpine:3.13

RUN apk add curl
RUN apk add openssl

RUN apk add --no-cache ca-certificates && update-ca-certificates

RUN curl --output /usr/local/share/ca-certificates/SectigoRSADomainValidationSecureServerCA.crt http://crt.sectigo.com/SectigoRSADomainValidationSecureServerCA.crt

RUN openssl x509 -inform DER -in /usr/local/share/ca-certificates/SectigoRSADomainValidationSecureServerCA.crt -out /usr/local/share/ca-certificates/SectigoRSADomainValidationSecureServerCA.pem -text
RUN update-ca-certificates

COPY guardian .

EXPOSE 8080
Expand Down

0 comments on commit c020144

Please sign in to comment.