Browse Source

Change emptyfs path in integration-cli tests

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>
Ahmet Alp Balkan 10 years ago
parent
commit
e1be475c5b
1 changed files with 2 additions and 1 deletions
  1. 2 1
      project/make/.ensure-emptyfs

+ 2 - 1
project/make/.ensure-emptyfs

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