Move docker builder image to the top of the repository

This commit is contained in:
Marcin Wielgus 2017-06-20 17:28:00 +02:00
parent 7b3a75c294
commit d5728dc6a7
3 changed files with 3 additions and 2 deletions

1
builder/README.md Normal file
View File

@ -0,0 +1 @@
A Docker image that is used to build autoscaling-related binaries.

View File

@ -34,10 +34,10 @@ format:
test -z "$$(find . -path ./vendor -prune -type f -o -name '*.go' -exec gofmt -s -w {} + | tee /dev/stderr)"
docker-builder:
docker build -t ca-builder ./builder
docker build -t autoscalig-builder ../builder
build-in-docker: clean docker-builder
docker run -v `pwd`:/gopath/src/k8s.io/autoscaler/cluster-autoscaler/ ca-builder:latest bash -c 'cd /gopath/src/k8s.io/autoscaler/cluster-autoscaler && make'
docker run -v `pwd`:/gopath/src/k8s.io/autoscaler/cluster-autoscaler/ autoscalig-builder:latest bash -c 'cd /gopath/src/k8s.io/autoscaler/cluster-autoscaler && make'
release: build-in-docker execute-release
echo "Full in-docker release ${TAG} completed"