#!/bin/bash

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

exit $?