#!/bin/bash

# Builds the experiment Docker image

. docker/params

echo "Building the experiment's Docker image and tagging it $EXPERIMENT_IMAGE..."


DOCKER_SCAN_SUGGEST=false DOCKER_BUILDKIT=1 \
  docker build \
  --build-arg PSYNET_DEVELOPER_MODE="${PSYNET_DEVELOPER_MODE-}" \
  --progress=plain \
  -t "${EXPERIMENT_IMAGE}" \
  .

echo "Finished building Docker image."
