diff options
author | Cédric Ollivier <cedric.ollivier@orange.com> | 2017-09-13 03:54:14 +0200 |
---|---|---|
committer | Cédric Ollivier <cedric.ollivier@orange.com> | 2017-09-13 03:54:14 +0200 |
commit | 9c90de0daa99b9cc7ba960fb66d39bde765feec2 (patch) | |
tree | 01beec8914f2813b38088c2baff3ff517f7111f0 /docker/parser/hooks/post_checkout | |
parent | 1fa0053d08b4525858c28f2ba8449e2f070dc7c5 (diff) |
Add Docker automated build hooks for Parser
Change-Id: Ie42058fba915e3fbe9098ff14b31768723e8e24e
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
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 $? |