Get cacert.pem from ProcessOne

pull/28/head
Christophe Romain 6 years ago
parent 3477c45fcb
commit 60f90cba07

@ -58,6 +58,7 @@ RUN apk upgrade --update musl \
ncurses-libs \ ncurses-libs \
openssl \ openssl \
sqlite \ sqlite \
unixodbc \
yaml \ yaml \
zlib \ zlib \
&& rm -rf /var/cache/apk/* && rm -rf /var/cache/apk/*
@ -67,7 +68,7 @@ WORKDIR $HOME
COPY --from=builder /ejabberd/runtime . COPY --from=builder /ejabberd/runtime .
COPY bin/* bin/ COPY bin/* bin/
COPY --chown=ejabberd:ejabberd conf conf/ COPY --chown=ejabberd:ejabberd conf conf/
ADD --chown=ejabberd:ejabberd https://curl.haxx.se/ca/cacert.pem conf/cacert.pem ADD --chown=ejabberd:ejabberd https://download.process-one.net/cacert.pem conf/cacert.pem
# Setup runtime environment # Setup runtime environment
USER ejabberd USER ejabberd

Loading…
Cancel
Save