-
-
Save onedr0p/07837f77806c6ce91d9500d05766964b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RUN mkdir -p ~/.gnupg/private-keys-v1.d \ | |
&& chmod 700 ~/.gnupg/private-keys-v1.d \ | |
&& echo "disable-ipv6" >> ~/.gnupg/dirmngr.conf \ | |
&& /usr/bin/gpg --version \ | |
&& curl --insecure -fsSL "${TINI_DOWNLOAD_URL}/${TINI_VERSION}/tini" -o /tini \ | |
&& curl --insecure -fsSL "${TINI_DOWNLOAD_URL}/${TINI_VERSION}/tini.asc" -o /tini.asc \ | |
&& GNUPGHOME="$(mktemp -d)" \ | |
&& export GNUPGHOME \ | |
&& gpg --keyserver hkp://ha.pool.sks-keyservers.net --recv-keys "0527A9B7" || \ | |
gpg --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys "0527A9B7" || \ | |
gpg --keyserver hkp://ipv4.pool.sks-keyservers.net --recv-keys "0527A9B7" || \ | |
gpg --keyserver hkp://pgp.mit.edu:80 --recv-keys "0527A9B7" ; \ | |
gpg --batch --verify /tini.asc /tini \ | |
&& rm -rf "$GNUPGHOME" /tini.asc \ | |
&& mv /tini /sbin/tini \ | |
&& chmod +x /sbin/tini |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment