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

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

exit $?