1
0
stack-orchestrator/app/data/container-build/cerc-optimism-contracts/build.sh
David Boreham 332085f80b Add force rebuild option (#329)
Former-commit-id: 1443c6c6d20f3e9f95432e87ea61109c6b0f1beb
2023-04-14 14:19:27 -06:00

10 lines
360 B
Bash
Executable File

#!/usr/bin/env bash
# Build cerc/optimism-contracts
source ${CERC_CONTAINER_BASE_DIR}/build-base.sh
# See: https://stackoverflow.com/a/246128/1701505
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
docker build -t cerc/optimism-contracts:local -f ${SCRIPT_DIR}/Dockerfile ${build_command_args} ${CERC_REPO_BASE_DIR}/optimism