Skip to content

Commit

Permalink
tweak to fix docker build in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
eikenb committed Sep 22, 2021
1 parent 2b2cf7a commit 799d656
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions docker/fetch-n-verify.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ mkdir -p /tmp/build && cd /tmp/build
apkArch="$(apk --print-arch)"
case "${apkArch}" in \
aarch64) ARCH='arm64' ;;
armhf) ARCH='armhfv6' ;;
armhf) ARCH='arm' ;;
x86) ARCH='386' ;;
x86_64) ARCH='amd64' ;;
*) echo >&2 "error: unsupported architecture: ${apkArch} (see ${HASHICORP_RELEASES}/${NAME}/${VERSION}/)" && exit 1 ;;
Expand All @@ -43,5 +43,6 @@ unzip -d /bin ${NAME}_${VERSION}_linux_${ARCH}.zip
apk del gnupg
cd /tmp
rm -rf /tmp/build
rm -rf /root/.gnupg
rm "$0"
gpgconf --kill gpg-agent || true
rm -rf /root/.gnupg || true
rm -f "$0"

0 comments on commit 799d656

Please sign in to comment.