make curl fail on 404

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
This commit is contained in:
Justin Cormack
2016-11-01 13:58:02 +00:00
parent 18a507cc33
commit c758ca67ce
2 changed files with 3 additions and 3 deletions

View File

@@ -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 \