Add mkdir if the target dir does not exist (#130)
This commit is contained in:
parent
f20bba87a0
commit
f92ee6937c
@ -16,5 +16,6 @@ BASE_URL="https://sonicstorage.blob.core.windows.net/packages/docker-base.ea5077
|
|||||||
|
|
||||||
base_image_name=docker-base
|
base_image_name=docker-base
|
||||||
docker_try_rmi $base_image_name
|
docker_try_rmi $base_image_name
|
||||||
|
mkdir -p $TARGET_PATH
|
||||||
wget --no-use-server-timestamps -O $TARGET_PATH/$base_image_name.gz "$BASE_URL"
|
wget --no-use-server-timestamps -O $TARGET_PATH/$base_image_name.gz "$BASE_URL"
|
||||||
docker load < $TARGET_PATH/$base_image_name.gz
|
docker load < $TARGET_PATH/$base_image_name.gz
|
||||||
|
Loading…
Reference in New Issue
Block a user