Add missing dependency gnupg & dirmngr in slim template
This commit is contained in:
parent
2dc90a6861
commit
ce9b7cd449
|
@ -17,7 +17,7 @@ RUN buildDeps='xz-utils' \
|
|||
*) echo "unsupported architecture"; exit 1 ;; \
|
||||
esac \
|
||||
&& set -ex \
|
||||
&& apt-get update && apt-get install -y ca-certificates curl wget $buildDeps --no-install-recommends \
|
||||
&& apt-get update && apt-get install -y ca-certificates curl wget gnupg dirmngr $buildDeps --no-install-recommends \
|
||||
&& rm -rf /var/lib/apt/lists/* \
|
||||
&& for key in \
|
||||
"${NODE_KEYS[@]}"
|
||||
|
@ -25,7 +25,7 @@ RUN buildDeps='xz-utils' \
|
|||
gpg --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys "$key" || \
|
||||
gpg --keyserver hkp://ipv4.pool.sks-keyservers.net --recv-keys "$key" || \
|
||||
gpg --keyserver hkp://pgp.mit.edu:80 --recv-keys "$key" ; \
|
||||
done
|
||||
done \
|
||||
&& curl -fsSLO --compressed "https://nodejs.org/dist/v$NODE_VERSION/node-v$NODE_VERSION-linux-$ARCH.tar.xz" \
|
||||
&& curl -fsSLO --compressed "https://nodejs.org/dist/v$NODE_VERSION/SHASUMS256.txt.asc" \
|
||||
&& gpg --batch --decrypt --output SHASUMS256.txt SHASUMS256.txt.asc \
|
||||
|
|
Loading…
Reference in New Issue