2023-08-03 20:31:16 +00:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
# Build cerc/plugeth-statediff
|
|
|
|
source ${CERC_CONTAINER_BASE_DIR}/build-base.sh
|
2023-10-12 02:24:52 +00:00
|
|
|
# Pass Go auth token if present
|
|
|
|
if [[ -n "${CERC_GO_AUTH_TOKEN}" ]]; then
|
|
|
|
build_command_args="${build_command_args} --build-arg GIT_VDBTO_TOKEN=${CERC_GO_AUTH_TOKEN}"
|
2023-09-08 21:37:59 +00:00
|
|
|
fi
|
2023-10-12 02:24:52 +00:00
|
|
|
docker build -t cerc/plugeth-statediff:local ${build_command_args} ${CERC_REPO_BASE_DIR}/plugeth-statediff
|