mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-12-07 08:34:38 +00:00
make curl fail on 404
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
This commit is contained in:
@@ -35,9 +35,9 @@ cleanusr:
|
||||
|
||||
download: cleanusr
|
||||
ifdef DOCKER_BIN_URL
|
||||
(curl -sSL ${DOCKER_BIN_URL} && touch ok) | tar xzf -
|
||||
(curl -fsSL ${DOCKER_BIN_URL} && touch ok) | tar xzf -
|
||||
else
|
||||
(curl -sSL https://${DOCKER_HOST}/builds/${OS}/${ARCH}/docker-${DOCKER_VERSION}.tgz && touch ok) | tar xzf -
|
||||
(curl -fsSL https://${DOCKER_HOST}/builds/${OS}/${ARCH}/docker-${DOCKER_VERSION}.tgz && touch ok) | tar xzf -
|
||||
endif
|
||||
rm ok
|
||||
mv docker/docker-containerd-ctr \
|
||||
|
||||
Reference in New Issue
Block a user