if [ -z $docker_template ]
then
    docker_template="Dockerfile.Template"
fi

if [ -z $(docker images  | grep log-benchmark) ] 
then 
    rm Dockerfile || true

    # Replace to project name
    sed "s/{{PROJECT_NAME}}/$project_name/g" templates/$docker_template > Dockerfile
    docker build -t $container_name .

    rm Dockerfile
fi