2017-05-27 05:10:26 +00:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
|
|
set -eu -o pipefail -x
|
|
|
|
|
|
|
|
# update this to iidfile after 17.06
|
|
|
|
docker build -t buildkit_poc:test -f ./hack/dockerfiles/test.Dockerfile --force-rm .
|
2017-06-19 20:39:00 +00:00
|
|
|
docker run -v /tmp --privileged buildkit_poc:test go test ${TESTFLAGS:--v -tags 'containerd standalone'} ${TESTPKGS:-./...}
|
|
|
|
docker run --rm buildkit_poc:test go build ./...
|
|
|
|
docker run --rm buildkit_poc:test go build -tags standalone ./cmd/buildd
|
|
|
|
docker run --rm buildkit_poc:test go build -tags containerd ./cmd/buildd
|