This fixes the build break in Jenkins Windows CI tests and fixes TestInspectImage for Windows CLI. Signed-off-by: Ahmet Alp Balkan <ahmetalpbalkan@gmail.com>
@@ -5,7 +5,8 @@ if ! docker inspect emptyfs &> /dev/null; then
# let's build a "docker save" tarball for "emptyfs"
# see https://github.com/docker/docker/pull/5262
# and also https://github.com/docker/docker/issues/4242
- dir="$(mktemp -d)"
+ dir="$DEST/emptyfs"
+ mkdir -p "$dir"
(
cd "$dir"
echo '{"emptyfs":{"latest":"511136ea3c5a64f264b78b5433614aec563103b4d4702f3ba7d4d2698e22c158"}}' > repositories