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