summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTails developers <amnesia@boum.org>2015-01-20 16:38:17 +0000
committerTails developers <amnesia@boum.org>2015-01-20 16:38:17 +0000
commit410f5fd7487c467f8f907b8608c40c2633d732fc (patch)
tree516d186c07dfd2182076180153fc4f5500c25ffb
parentdace5ddfe6da77933fbabb37970a2f7e8b088cb8 (diff)
Slightly refactor Makefile to leave room for using more than one container.
E.g. we'll soon want another container to run apt-cacher-ng.
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 7bd2ea1..d7ded2d 100644
--- a/Makefile
+++ b/Makefile
@@ -7,10 +7,12 @@ BUILD_COMMAND := apt-get update && apt-get dist-upgrade && lb clean --all && lb
default: all
-all: builder_container iso_image
+all: containers iso_image
iso_image:
$(DOCKER_RUN) "$(BUILD_COMMAND)"
+containers: builder_container
+
builder_container:
docker build -t "$(DOCKER_IMAGE_NAME)" .