diff --git a/.travis.yml b/.travis.yml index 6a2ed48..3fc5ed2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,6 +8,8 @@ cache: sudo: required services: - docker +env: + - DOCKER_BUILD_FLAGS="--pull --no-cache" install: - make bootstrap script: diff --git a/Makefile b/Makefile index f49edbc..a74683d 100644 --- a/Makefile +++ b/Makefile @@ -65,7 +65,7 @@ build-with-container: check-docker docker-build: build-with-container build-image build-image: - docker build -t ${IMAGE} rootfs + docker build ${DOCKER_BUILD_FLAGS} -t ${IMAGE} rootfs docker tag ${IMAGE} ${MUTABLE_IMAGE} clean: check-docker diff --git a/versioning.mk b/versioning.mk index 0385dd1..beb4ba1 100644 --- a/versioning.mk +++ b/versioning.mk @@ -20,4 +20,3 @@ docker-immutable-push: .PHONY: docker-mutable-push docker-mutable-push: docker push ${MUTABLE_IMAGE} - \ No newline at end of file