circleci: fix image build with latest alpine

Upgrade Docker, see
https://discuss.circleci.com/t/unable-to-use-make/40552
https://gitlab.alpinelinux.org/alpine/aports/-/issues/12396
This commit is contained in:
Roman Khimov 2021-07-07 20:12:32 +03:00
parent ab480f78c5
commit d4d8238e91

View file

@ -97,13 +97,14 @@ jobs:
- run: apk update && apk add git make curl tar - run: apk update && apk add git make curl tar
- checkout - checkout
- gomod - gomod
- setup_remote_docker - setup_remote_docker:
version: 20.10.6
- run: - run:
name: Install Docker client name: Install Docker client
command: | command: |
set -x set -x
VER="17.03.0-ce" VER="20.10.6"
curl -L -o /tmp/docker-$VER.tgz https://get.docker.com/builds/Linux/x86_64/docker-$VER.tgz curl -L -o /tmp/docker-$VER.tgz https://download.docker.com/linux/static/stable/x86_64/docker-$VER.tgz
tar -xz -C /tmp -f /tmp/docker-$VER.tgz tar -xz -C /tmp -f /tmp/docker-$VER.tgz
mv /tmp/docker/* /usr/bin mv /tmp/docker/* /usr/bin
- run: make image - run: make image