diff options
author | Cedric Ollivier <cedric.ollivier@orange.com> | 2017-09-13 14:02:19 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-09-13 14:02:19 +0000 |
commit | 3e2c8edac0af2523bc941e2c7d7c55b040c4aeed (patch) | |
tree | e2fd75074fcc947221904e03a467c7730197f4d1 /docker/restapi/hooks | |
parent | 116068e0f781d14507de05268ae5e232bc558f24 (diff) | |
parent | b05c2f9b12d360b751792946e91a3e00e7782279 (diff) |
Merge "Remove thirdparty-requirements.txt in smoke"
Diffstat (limited to 'docker/restapi/hooks')
-rw-r--r-- | docker/restapi/hooks/post_checkout | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/docker/restapi/hooks/post_checkout b/docker/restapi/hooks/post_checkout new file mode 100644 index 000000000..20a6d4b95 --- /dev/null +++ b/docker/restapi/hooks/post_checkout @@ -0,0 +1,6 @@ +#!/bin/bash + +from="${DOCKER_REPO%/*}/functest-core" +sed -i "s|^FROM.*$|FROM ${from}|" Dockerfile + +exit $? |