buildkit/hack/update-vendor

8 lines
222 B
Plaintext
Raw Normal View History

#!/usr/bin/env bash
set -eu -o pipefail -x
iid=$(docker build -q -f ./hack/dockerfiles/vendor.Dockerfile .)
cid=$(docker create $iid noop)
docker cp $cid:/go/src/github.com/tonistiigi/buildkit_poc/vendor .
docker rm $cid