summaryrefslogtreecommitdiffstats
path: root/docker/smoke/hooks
diff options
context:
space:
mode:
Diffstat (limited to 'docker/smoke/hooks')
-rw-r--r--docker/smoke/hooks/post_checkout6
1 files changed, 6 insertions, 0 deletions
diff --git a/docker/smoke/hooks/post_checkout b/docker/smoke/hooks/post_checkout
new file mode 100644
index 000000000..20a6d4b95
--- /dev/null
+++ b/docker/smoke/hooks/post_checkout
@@ -0,0 +1,6 @@
+#!/bin/bash
+
+from="${DOCKER_REPO%/*}/functest-core"
+sed -i "s|^FROM.*$|FROM ${from}|" Dockerfile
+
+exit $?