hack: fix scripts for macos
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>docker-18.09
parent
949c06603f
commit
8c3e15beda
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
set -eu -o pipefail -x
|
set -eu -o pipefail -x
|
||||||
|
|
||||||
iidfile=$(mktemp --tmpdir docker-iidfile.XXXXXXXXXX)
|
iidfile=$(mktemp -t docker-iidfile.XXXXXXXXXX)
|
||||||
docker build --iidfile $iidfile -f ./hack/dockerfiles/lint.Dockerfile --force-rm .
|
docker build --iidfile $iidfile -f ./hack/dockerfiles/lint.Dockerfile --force-rm .
|
||||||
iid=$(cat $iidfile)
|
iid=$(cat $iidfile)
|
||||||
docker run $iid gometalinter --config=gometalinter.json ./...
|
docker run $iid gometalinter --config=gometalinter.json ./...
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
set -eu -o pipefail -x
|
set -eu -o pipefail -x
|
||||||
|
|
||||||
iidfile=$(mktemp --tmpdir docker-iidfile.XXXXXXXXXX)
|
iidfile=$(mktemp -t docker-iidfile.XXXXXXXXXX)
|
||||||
|
|
||||||
docker build --iidfile $iidfile --target integration-tests -f ./hack/dockerfiles/test.Dockerfile --force-rm .
|
docker build --iidfile $iidfile --target integration-tests -f ./hack/dockerfiles/test.Dockerfile --force-rm .
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
set -eu -o pipefail -x
|
set -eu -o pipefail -x
|
||||||
|
|
||||||
iidfile=$(mktemp --tmpdir docker-iidfile.XXXXXXXXXX)
|
iidfile=$(mktemp -t docker-iidfile.XXXXXXXXXX)
|
||||||
docker build --build-arg VNDR_VERSION=48ac2669d9d1bcacd3163650ef911edca2ec3b42 --iidfile $iidfile -f ./hack/dockerfiles/vendor.Dockerfile --force-rm .
|
docker build --build-arg VNDR_VERSION=48ac2669d9d1bcacd3163650ef911edca2ec3b42 --iidfile $iidfile -f ./hack/dockerfiles/vendor.Dockerfile --force-rm .
|
||||||
iid=$(cat $iidfile)
|
iid=$(cat $iidfile)
|
||||||
cid=$(docker create $iid noop)
|
cid=$(docker create $iid noop)
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
set -eu -o pipefail -x
|
set -eu -o pipefail -x
|
||||||
|
|
||||||
iidfile=$(mktemp --tmpdir docker-iidfile.XXXXXXXXXX)
|
iidfile=$(mktemp -t docker-iidfile.XXXXXXXXXX)
|
||||||
docker build --build-arg VNDR_VERSION=48ac2669d9d1bcacd3163650ef911edca2ec3b42 --iidfile $iidfile -f ./hack/dockerfiles/vendor.Dockerfile --force-rm .
|
docker build --build-arg VNDR_VERSION=48ac2669d9d1bcacd3163650ef911edca2ec3b42 --iidfile $iidfile -f ./hack/dockerfiles/vendor.Dockerfile --force-rm .
|
||||||
iid=$(cat $iidfile)
|
iid=$(cat $iidfile)
|
||||||
diffs="$(docker run $iid git status --porcelain -- vendor 2>/dev/null)"
|
diffs="$(docker run $iid git status --porcelain -- vendor 2>/dev/null)"
|
||||||
|
|
Loading…
Reference in New Issue