#!/bin/bash from="${DOCKER_REPO%/*}/functest-kubernetes-smoke:${DOCKER_TAG}" sed -i "s|^FROM.*$|FROM ${from}|" Dockerfile exit $?