summaryrefslogtreecommitdiffstats
path: root/docker/healthcheck/hooks
diff options
context:
space:
mode:
authorCedric Ollivier <cedric.ollivier@orange.com>2017-07-19 09:32:25 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-07-19 09:32:25 +0000
commit2f911f3f0500b3a1a0f5352282e88e2aea925a6d (patch)
treea6408ad63191bac77260252402d9fcc13b25048d /docker/healthcheck/hooks
parent0e593e964c648d8794b7945d77ae9dd41c7e59ac (diff)
parent6ff8e6fd6be9f1fc57506db52432a1cb20f4db99 (diff)
Merge "Add script to build all containers"
Diffstat (limited to 'docker/healthcheck/hooks')
-rw-r--r--docker/healthcheck/hooks/build7
1 files changed, 7 insertions, 0 deletions
diff --git a/docker/healthcheck/hooks/build b/docker/healthcheck/hooks/build
new file mode 100644
index 000000000..e5d15b526
--- /dev/null
+++ b/docker/healthcheck/hooks/build
@@ -0,0 +1,7 @@
+#!/bin/bash
+
+from="${DOCKER_REPO%/*}/functest-core"
+sed -i "s|^FROM.*$|FROM ${from}|" Dockerfile &&
+ docker build -t "${IMAGE_NAME}" .
+
+exit $?