summaryrefslogtreecommitdiffstats
path: root/docker/hooks/post_checkout
blob: 8d0e98124edeaedae07ec34b7ccd63b5fce28fc2 (plain)
1
2
3
4
5
6
#!/bin/bash

from="${DOCKER_REPO%/*}/functest-core:${DOCKER_TAG}"
sed -i "s|^FROM.*$|FROM ${from}|" Dockerfile

exit $?