Skip to content
This repository was archived by the owner on Aug 5, 2020. It is now read-only.

Commit 9b09080

Browse files
committed
feat(Makefile): set docker build flags via environment variable
1 parent 22ed33b commit 9b09080

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ cache:
77
- vendor
88
services:
99
- docker
10+
env:
11+
- DOCKER_BUILD_FLAGS="--pull --no-cache"
1012
install:
1113
- make bootstrap
1214
script:

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,5 +49,5 @@ test-style:
4949
# For cases where we're building from local
5050
# We also alter the RC file to set the image name.
5151
docker-build: build
52-
docker build --rm -t ${IMAGE} rootfs
52+
docker build ${DOCKER_BUILD_FLAGS} -t ${IMAGE} rootfs
5353
docker tag ${IMAGE} ${MUTABLE_IMAGE}

0 commit comments

Comments
 (0)