Add LE CA to satellite and storagenode images (#1688)
This commit is contained in:
parent
6a1d343abd
commit
1adf2febf2
@ -14,7 +14,6 @@ RUN npm run build
|
||||
|
||||
# final stage
|
||||
FROM alpine
|
||||
RUN apk -U add ca-certificates
|
||||
ENV API_KEY= \
|
||||
CONF_PATH=/root/.local/share/storj/satellite \
|
||||
BOOTSTRAP_ADDR=bootstrap.storj.io:8080 \
|
||||
@ -24,6 +23,7 @@ EXPOSE 7777
|
||||
EXPOSE 10100
|
||||
WORKDIR /app
|
||||
VOLUME /root/.local/share/storj/satellite
|
||||
COPY resources/certs.pem /etc/ssl/certs/ca-certificates.crt
|
||||
COPY --from=satellite-ui /app/ /app
|
||||
COPY --from=build-env /app /app/satellite
|
||||
COPY /cmd/satellite/entrypoint /entrypoint
|
||||
|
@ -12,6 +12,7 @@ ENV CONF_PATH=/root/.local/share/storj/storagenode \
|
||||
EXPOSE 28967
|
||||
WORKDIR /app
|
||||
VOLUME /root/.local/share/storj/storagenode
|
||||
COPY resources/certs.pem /etc/ssl/certs/ca-certificates.crt
|
||||
COPY --from=storagenode-build-env /app /app/storagenode
|
||||
COPY cmd/storagenode/entrypoint /entrypoint
|
||||
ENTRYPOINT ["/entrypoint"]
|
||||
|
27
resources/certs.pem
Normal file
27
resources/certs.pem
Normal file
@ -0,0 +1,27 @@
|
||||
-----BEGIN CERTIFICATE-----
|
||||
MIIEkjCCA3qgAwIBAgIQCgFBQgAAAVOFc2oLheynCDANBgkqhkiG9w0BAQsFADA/
|
||||
MSQwIgYDVQQKExtEaWdpdGFsIFNpZ25hdHVyZSBUcnVzdCBDby4xFzAVBgNVBAMT
|
||||
DkRTVCBSb290IENBIFgzMB4XDTE2MDMxNzE2NDA0NloXDTIxMDMxNzE2NDA0Nlow
|
||||
SjELMAkGA1UEBhMCVVMxFjAUBgNVBAoTDUxldCdzIEVuY3J5cHQxIzAhBgNVBAMT
|
||||
GkxldCdzIEVuY3J5cHQgQXV0aG9yaXR5IFgzMIIBIjANBgkqhk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fl96S8TihRzZvoroed6ti6WqEBmtzw3Wodatg+VyOeph4EYpr/1wXKtx8/
|
||||
wApIvJSwtmVi4MFU5aMqrSDE6ea73Mj2tcMyo5jMd6jmeWUHK8so/joWUoHOUgwu
|
||||
X4Po1QYz+3dszkDqMp4fklxBwXRsW10KXzPMTZ+sOPAveyxindmjkW8lGy+QsRlG
|
||||
PfZ+G6Z6h7mjem0Y+iWlkYcV4PIWL1iwBi8saCbGS5jN2p8M+X+Q7UNKEkROb3N6
|
||||
KOqkqm57TH2H3eDJAkSnh6/DNFu0Qg==
|
||||
-----END CERTIFICATE-----
|
Loading…
Reference in New Issue
Block a user