소스 검색

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 년 전
부모
커밋
e1be475c5b
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  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