diff options
Diffstat (limited to 'docker/components/hooks')
-rw-r--r-- | docker/components/hooks/build | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/docker/components/hooks/build b/docker/components/hooks/build new file mode 100644 index 00000000..e5d15b52 --- /dev/null +++ b/docker/components/hooks/build @@ -0,0 +1,7 @@ +#!/bin/bash + +from="${DOCKER_REPO%/*}/functest-core" +sed -i "s|^FROM.*$|FROM ${from}|" Dockerfile && + docker build -t "${IMAGE_NAME}" . + +exit $? |