forked from TrueCloudLab/certificates
Try using test -f
instead of testing docker buildx
directly
This commit is contained in:
parent
7b55c1b37d
commit
a1839c444b
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ endif
|
||||||
# Register buildx builder
|
# Register buildx builder
|
||||||
mkdir -p $$HOME/.docker/cli-plugins
|
mkdir -p $$HOME/.docker/cli-plugins
|
||||||
|
|
||||||
docker buildx >/dev/null || \
|
test -f $$HOME/.docker/cli-plugins/docker-buildx || \
|
||||||
(wget -O $$HOME/.docker/cli-plugins/docker-buildx https://github.com/docker/buildx/releases/download/v0.4.1/buildx-v0.4.1.$(DOCKER_CLIENT_OS)-amd64 && \
|
(wget -O $$HOME/.docker/cli-plugins/docker-buildx https://github.com/docker/buildx/releases/download/v0.4.1/buildx-v0.4.1.$(DOCKER_CLIENT_OS)-amd64 && \
|
||||||
chmod +x $$HOME/.docker/cli-plugins/docker-buildx)
|
chmod +x $$HOME/.docker/cli-plugins/docker-buildx)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue