mirror of
https://github.com/super-linter/super-linter.git
synced 2024-11-25 02:01:02 -05:00
Fallback to other key servers if ha.pool.sks-keyservers.net is not available
This commit is contained in:
parent
7ed2bbc699
commit
377d78981c
1 changed files with 4 additions and 1 deletions
|
@ -157,7 +157,10 @@ RUN curl --retry 5 --retry-delay 5 -sL https://cpanmin.us/ | perl - -nq --no-wge
|
|||
##############################
|
||||
RUN wget --tries=5 -O phive.phar https://phar.io/releases/phive.phar \
|
||||
&& wget --tries=5 -O phive.phar.asc https://phar.io/releases/phive.phar.asc \
|
||||
&& gpg --keyserver pool.sks-keyservers.net --recv-keys 0x9D8A98B29B2D5D79 \
|
||||
&& PHAR_KEY_ID="0x9D8A98B29B2D5D79" \
|
||||
&& ( gpg --keyserver ha.pool.sks-keyservers.net --recv-keys "$PHAR_KEY_ID" \
|
||||
|| gpg --keyserver pgp.mit.edu --recv-keys "$PHAR_KEY_ID" \
|
||||
|| gpg --keyserver keyserver.pgp.com --recv-keys "$PHAR_KEY_ID" ) \
|
||||
&& gpg --verify phive.phar.asc phive.phar \
|
||||
&& chmod +x phive.phar \
|
||||
&& mv phive.phar /usr/local/bin/phive \
|
||||
|
|
Loading…
Reference in a new issue