We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 145ee50 + e8f0284 commit 40c77c3Copy full SHA for 40c77c3
2 files changed
Makefile
@@ -27,7 +27,7 @@ check-docker:
27
build: docker-build
28
29
docker-build: check-docker
30
- docker build --rm -t ${IMAGE} rootfs
+ docker build ${DOCKER_BUILD_FLAGS} -t ${IMAGE} rootfs
31
docker tag ${IMAGE} ${MUTABLE_IMAGE}
32
33
deploy: check-kubectl docker-build docker-push
versioning.mk
@@ -1,5 +1,6 @@
1
MUTABLE_VERSION ?= canary
2
VERSION ?= git-$(shell git rev-parse --short HEAD)
3
+DOCKER_BUILD_FLAGS ?= --no-cache
4
5
IMAGE := ${DEIS_REGISTRY}${IMAGE_PREFIX}/${SHORT_NAME}:${VERSION}
6
MUTABLE_IMAGE := ${DEIS_REGISTRY}${IMAGE_PREFIX}/${SHORT_NAME}:${MUTABLE_VERSION}
0 commit comments