summaryrefslogtreecommitdiffstats
path: root/fuel/build/docker/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'fuel/build/docker/Makefile')
-rw-r--r--fuel/build/docker/Makefile23
1 files changed, 23 insertions, 0 deletions
diff --git a/fuel/build/docker/Makefile b/fuel/build/docker/Makefile
new file mode 100644
index 0000000..c2853c8
--- /dev/null
+++ b/fuel/build/docker/Makefile
@@ -0,0 +1,23 @@
+##############################################################################
+# Copyright (c) 2015 Ericsson AB and others.
+# stefan.k.berg@ericsson.com
+# jonas.bjurel@ericsson.com
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
+
+FILES = $(wildcard ubuntu-builder/*) runcontext
+
+.PHONY: all
+all: .docker
+
+.docker: $(FILES)
+ /usr/bin/docker build --rm=true --no-cache=true -t opnfv.org/ubuntu-builder:14.04 ubuntu-builder
+ /usr/bin/docker tag -f opnfv.org/ubuntu-builder:14.04 opnfv.org/ubuntu-builder
+ touch .docker
+
+.PHONY: clean
+clean:
+ rm .docker