aboutsummaryrefslogtreecommitdiffstats
path: root/build/docker
diff options
context:
space:
mode:
Diffstat (limited to 'build/docker')
-rw-r--r--build/docker/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/docker/Makefile b/build/docker/Makefile
index ab7a169eb..783881e8d 100644
--- a/build/docker/Makefile
+++ b/build/docker/Makefile
@@ -45,7 +45,7 @@ all: .docker
touch $@
.docker: .dockercfg
- @if test "$(shell ${DOCKER_EXPIRED})" -eq "0"; then \
+ @if test -f .cacheid -o "$(shell ${DOCKER_EXPIRED})" -eq "0"; then \
/usr/bin/docker build --rm=true --no-cache=true \
-t ${DOCKER_TAG} ubuntu-builder && \
/usr/bin/docker tag ${tag_flags} ${DOCKER_TAG} ${DOCKER_IMG}; \