File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ bootstrap:
2121 @echo Nothing to do.
2222
2323docker-build :
24- docker build --pull --rm -t ${IMAGE} rootfs
24+ docker build ${DOCKER_BUILD_FLAGS} -t ${IMAGE} rootfs
2525 docker tag ${IMAGE} ${MUTABLE_IMAGE}
2626
2727deploy : docker-build docker-push kube-pod
@@ -48,7 +48,7 @@ kube-mc:
4848 kubectl create -f manifests/deis-mc-pod.yaml
4949
5050mc :
51- docker build -t ${DEIS_REGISTRY} /deis/minio-mc:latest mc
51+ docker build ${DOCKER_BUILD_FLAGS} -t ${DEIS_REGISTRY} /deis/minio-mc:latest mc
5252 docker push ${DEIS_REGISTRY} /deis/minio-mc:latest
5353 perl -pi -e " s|image: [a-z0-9.:]+\/|image: ${DEIS_REGISTRY} /|g" manifests/deis-mc-pod.yaml
5454
Original file line number Diff line number Diff line change 11MUTABLE_VERSION ?= canary
22VERSION ?= git-$(shell git rev-parse --short HEAD)
3+ DOCKER_BUILD_FLAGS ?= --pull
34
45IMAGE := ${DEIS_REGISTRY}${IMAGE_PREFIX}/${SHORT_NAME}:${VERSION}
56MUTABLE_IMAGE := ${DEIS_REGISTRY}${IMAGE_PREFIX}/${SHORT_NAME}:${MUTABLE_VERSION}
You can’t perform that action at this time.
0 commit comments