File tree Expand file tree Collapse file tree 1 file changed +4
-10
lines changed Expand file tree Collapse file tree 1 file changed +4
-10
lines changed Original file line number Diff line number Diff line change @@ -10,22 +10,16 @@ RUN set -x \
1010
1111# Install Panubo bash-container
1212RUN set -x \
13- && BASHCONTAINER_VERSION=0.6.0 \
13+ && BASHCONTAINER_VERSION=0.7.0 \
14+ && BASHCONTAINER_SHA256=45065b105614543b7775131728dbdf680586f553163240e4dd7226f03a35d4fa \
1415 && if [ -n "$(readlink /usr/bin/wget)" ]; then \
1516 fetchDeps="${fetchDeps} wget" ; \
1617 fi \
17- && if ! command -v gpg > /dev/null; then \
18- fetchDeps="${fetchDeps} gnupg" ; \
19- fi \
2018 && apk add --no-cache ca-certificates bash curl coreutils ${fetchDeps} \
2119 && cd /tmp \
2220 && wget -nv https://github.com/panubo/bash-container/releases/download/v${BASHCONTAINER_VERSION}/panubo-functions.tar.gz \
23- && wget -nv https://github.com/panubo/bash-container/releases/download/v${BASHCONTAINER_VERSION}/panubo-functions.tar.gz.asc \
24- && GPG_KEYS="E51A4070A3FFBD68C65DDB9D8BECEF8DFFCC60DD" \
25- && ( gpg --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys "$GPG_KEYS" \
26- || gpg --keyserver hkp://ipv4.pool.sks-keyservers.net --recv-keys "$GPG_KEYS" \
27- || gpg --keyserver hkp://pgp.mit.edu:80 --recv-keys "$GPG_KEYS" ) \
28- && gpg --batch --verify panubo-functions.tar.gz.asc panubo-functions.tar.gz \
21+ && echo "${BASHCONTAINER_SHA256} panubo-functions.tar.gz" > /tmp/SHA256SUM \
22+ && ( cd /tmp; sha256sum -c SHA256SUM || ( echo "Expected $(sha256sum panubo-functions.tar.gz)" ; exit 1; )) \
2923 && tar -C / -zxf panubo-functions.tar.gz \
3024 && rm -rf /tmp/* \
3125 && apk del ${fetchDeps} \
You can’t perform that action at this time.
0 commit comments