4c72acea96
* Add a sushiswap stack with contract deployments * Add watcher services * Add a service for the info app * Add instructions to run smoke tests * Use sushi-info-watcher in demo mode * Turn off block prefetching * Fix sushiswap demo instructions * Use release version and add healthcheck in Lotus stack * Wait for Lotus node to start before sushiswap watchers --------- Co-authored-by: Nabarun <nabarun@deepstacksoft.com>
13 lines
501 B
Bash
Executable File
13 lines
501 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Build cerc/lotus
|
|
source ${CERC_CONTAINER_BASE_DIR}/build-base.sh
|
|
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
|
|
|
|
# Use a release version tag to match the modified Dockerfile replaced in next step
|
|
git -C ${CERC_REPO_BASE_DIR}/lotus checkout v1.23.3
|
|
|
|
# Replace repo's Dockerfile with modified one
|
|
cp ${SCRIPT_DIR}/Dockerfile ${CERC_REPO_BASE_DIR}/lotus/Dockerfile
|
|
|
|
docker build -t cerc/lotus:local ${build_command_args} ${CERC_REPO_BASE_DIR}/lotus
|