10 lines
272 B
Bash
Executable File
10 lines
272 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -eu -o pipefail -x
|
|
|
|
iidfile=$(mktemp -t docker-iidfile.XXXXXXXXXX)
|
|
docker build --iidfile $iidfile -f ./hack/dockerfiles/lint.Dockerfile --force-rm .
|
|
iid=$(cat $iidfile)
|
|
docker run $iid gometalinter --config=gometalinter.json ./...
|
|
rm -f $iidfile
|