Fix update generated files via docker buildkit
Signed-off-by: Edgar Lee <edgarl@netflix.com>v0.7
parent
fdd2f9b660
commit
bb0ed03111
|
@ -20,7 +20,7 @@ case $buildmode in
|
||||||
cp -R "$output/generated-files/" .
|
cp -R "$output/generated-files/" .
|
||||||
rm -rf $output
|
rm -rf $output
|
||||||
;;
|
;;
|
||||||
"docker-buildkt")
|
"docker-buildkit")
|
||||||
iidfile=$(mktemp -t docker-iidfile.XXXXXXXXXX)
|
iidfile=$(mktemp -t docker-iidfile.XXXXXXXXXX)
|
||||||
export DOCKER_BUILDKIT=1
|
export DOCKER_BUILDKIT=1
|
||||||
docker build --build-arg GOGO_VERSION=$gogo_version --iidfile $iidfile -f ./hack/dockerfiles/generated-files.Dockerfile --target update --force-rm .
|
docker build --build-arg GOGO_VERSION=$gogo_version --iidfile $iidfile -f ./hack/dockerfiles/generated-files.Dockerfile --target update --force-rm .
|
||||||
|
|
Loading…
Reference in New Issue