diff options
author | Cedric Ollivier <cedric.ollivier@orange.com> | 2017-09-13 14:02:09 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-09-13 14:02:09 +0000 |
commit | 116068e0f781d14507de05268ae5e232bc558f24 (patch) | |
tree | e4a50457b6d0dc3f030f445bd9860531d9a2e616 /docker/parser/hooks/post_checkout | |
parent | 0e057acf0cce634f0ab4e472184d2af2d46689fd (diff) | |
parent | 9c90de0daa99b9cc7ba960fb66d39bde765feec2 (diff) |
Merge "Add Docker automated build hooks for Parser"
Diffstat (limited to 'docker/parser/hooks/post_checkout')
-rw-r--r-- | docker/parser/hooks/post_checkout | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/docker/parser/hooks/post_checkout b/docker/parser/hooks/post_checkout new file mode 100644 index 00000000..20a6d4b9 --- /dev/null +++ b/docker/parser/hooks/post_checkout @@ -0,0 +1,6 @@ +#!/bin/bash + +from="${DOCKER_REPO%/*}/functest-core" +sed -i "s|^FROM.*$|FROM ${from}|" Dockerfile + +exit $? |