aboutsummaryrefslogtreecommitdiffstats
path: root/docker/components/hooks/build
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2017-08-02 13:37:14 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2017-08-02 13:39:37 +0200
commit59a1b6b60a998bee70bd7c5df62ff54bd62f2b8b (patch)
tree62215a534c1985218b816edb77945a9c8a1b706c /docker/components/hooks/build
parent9e1e91caba0f9c3a2b5c6874ea0277c86e756806 (diff)
Add functest-components based on Alpine
It integrates the whole test suite: - tempest_full_parallel - tempest_custom - rally_full Change-Id: If215d8e12262072828f348ac323dba963849bf14 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'docker/components/hooks/build')
-rw-r--r--docker/components/hooks/build7
1 files changed, 7 insertions, 0 deletions
diff --git a/docker/components/hooks/build b/docker/components/hooks/build
new file mode 100644
index 00000000..e5d15b52
--- /dev/null
+++ b/docker/components/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 $?