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 |
| 5 | 5 |
# let's build a "docker save" tarball for "emptyfs" |
| 6 | 6 |
# see https://github.com/docker/docker/pull/5262 |
| 7 | 7 |
# and also https://github.com/docker/docker/issues/4242 |
| 8 |
- dir="$(mktemp -d)" |
|
| 8 |
+ dir="$DEST/emptyfs" |
|
| 9 |
+ mkdir -p "$dir" |
|
| 9 | 10 |
( |
| 10 | 11 |
cd "$dir" |
| 11 | 12 |
echo '{"emptyfs":{"latest":"511136ea3c5a64f264b78b5433614aec563103b4d4702f3ba7d4d2698e22c158"}}' > repositories
|