aboutsummaryrefslogtreecommitdiffstats
path: root/docker/features/hooks/build
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2017-08-02 12:14:16 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2017-08-02 13:21:51 +0200
commit9e1e91caba0f9c3a2b5c6874ea0277c86e756806 (patch)
tree1b0eb7c90c31a8d1206e7e6a84b0dfd35f81d96d /docker/features/hooks/build
parent8c856578b616ce78a17a78a58c03b340a86999a8 (diff)
Add functest-features based on Alpine
It integrates the next testcases: - bgpvpn - security_scan - functest-odl-sfc - barometercollectd It also modifies several cmds in the former testcases.yaml to ensure backward compatibility. Depends-On: I75aaf950f7b072c142fa9894cef7ef7f057adac3 Depends-On: I50219cad42bf0e085c2edf2e1abe149c2e057a99 Change-Id: Idf3d6b4a769edd1a5401748886e0ed64d4f5f281 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'docker/features/hooks/build')
-rw-r--r--docker/features/hooks/build7
1 files changed, 7 insertions, 0 deletions
diff --git a/docker/features/hooks/build b/docker/features/hooks/build
new file mode 100644
index 00000000..e5d15b52
--- /dev/null
+++ b/docker/features/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 $?