From 31f565bc8c2337ad66e25ba56fce91c77867b32f Mon Sep 17 00:00:00 2001 From: po3rin Date: Thu, 14 Mar 2019 23:33:02 +0900 Subject: [PATCH] rm useless spaces Signed-off-by: HiromuNakamura --- hack/binaries | 6 +++--- hack/test | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/hack/binaries b/hack/binaries index a01b549e..391bcb50 100755 --- a/hack/binaries +++ b/hack/binaries @@ -12,10 +12,10 @@ if [ "$CONTINUOUS_INTEGRATION" == "true" ]; then progressFlag="--progress=plain" binariesLegacy() { mkdir -p bin - + iidfile=$(mktemp -t docker-iidfile.XXXXXXXXXX) copysrc="/usr/bin/." - + case "$(echo "$TARGETPLATFORM" | cut -d"/" -f1)" in "darwin") docker build --iidfile $iidfile --target buildctl-darwin -f ./hack/dockerfiles/test.Dockerfile --force-rm . @@ -29,7 +29,7 @@ binariesLegacy() { docker build --iidfile $iidfile --target buildkit-binaries -f ./hack/dockerfiles/test.Dockerfile --force-rm . ;; esac - + iid=$(cat $iidfile) containerID=$(docker create $iid copy) docker cp $containerID:$copysrc bin diff --git a/hack/test b/hack/test index 21c827a3..a0782c4c 100755 --- a/hack/test +++ b/hack/test @@ -78,8 +78,8 @@ if [ "$TEST_DOCKERFILE" == 1 ]; then if [ -z $DOCKERFILE_RELEASES ]; then DOCKERFILE_RELEASES="mainline experimental mounts secrets ssh" fi - - + + for release in $DOCKERFILE_RELEASES; do buildtags=$(cat ./frontend/dockerfile/release/$release/tags) tarout=$(mktemp -t dockerfile-frontend.XXXXXXXXXX)