Skip to content

Commit

Permalink
add failover keyserver
Browse files Browse the repository at this point in the history
  • Loading branch information
wildone committed Oct 3, 2019
1 parent 317e943 commit 56048d4
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@ ARG TINI_VERSION="v0.18.0"
ARG TINI_KEY="595E85A6B1B4779EA4DAAEC70B588DFF0527A9B7"
ARG TINI_URL="https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini-static-amd64"

RUN curl -fsSL ${TINI_URL} -o /bin/tini && curl -fsSL ${TINI_URL}.asc -o /bin/tini.asc && gpg --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys ${TINI_KEY} && gpg --verify /bin/tini.asc && chmod +x /bin/tini
RUN curl -fsSL ${TINI_URL} -o /bin/tini && \
curl -fsSL ${TINI_URL}.asc -o /bin/tini.asc && \
(gpg --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys ${TINI_KEY} || \
gpg --keyserver pgp.mit.edu --recv-keys "$GPG_KEYS" || \
gpg --keyserver keyserver.pgp.com --recv-keys "$GPG_KEYS" ) && \
gpg --verify /bin/tini.asc && \
chmod +x /bin/tini

ENTRYPOINT ["/bin/tini", "--"]

0 comments on commit 56048d4

Please sign in to comment.