aboutsummaryrefslogtreecommitdiffstats
path: root/docker/smoke/hooks/build
blob: e5d15b526d8d5e23df94cec4f6fbe99a4b87cb2d (plain)
1
2
3
4
5
6
7
#!/bin/bash

from="${DOCKER_REPO%/*}/functest-core"
sed -i "s|^FROM.*$|FROM ${from}|" Dockerfile &&
    docker build -t "${IMAGE_NAME}" .

exit $?