2017-05-25 23:26:11 +00:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
|
|
set -eu -o pipefail -x
|
|
|
|
|
2017-05-26 00:16:32 +00:00
|
|
|
# update this to iidfile after 17.06
|
2017-07-10 20:22:51 +00:00
|
|
|
docker build --build-arg VNDR_VERSION=48ac2669d9d1bcacd3163650ef911edca2ec3b42 -t buildkit:vendor -f ./hack/dockerfiles/vendor.Dockerfile --force-rm .
|
2017-06-22 20:15:46 +00:00
|
|
|
cid=$(docker create buildkit:vendor noop)
|
2017-06-02 17:27:14 +00:00
|
|
|
rm -rf ./vendor
|
2017-06-22 20:15:46 +00:00
|
|
|
docker cp $cid:/go/src/github.com/moby/buildkit/vendor .
|
2017-05-25 23:26:11 +00:00
|
|
|
docker rm $cid
|