fixed lotus-mainnet dockerfile
All checks were successful
Lint Checks / Run linter (push) Successful in 38s

This commit is contained in:
jonathan@vulcanize.io 2024-04-25 03:23:04 +00:00
parent 9219fa133f
commit bf18317f98
3 changed files with 6 additions and 29 deletions

View File

@ -1,8 +1,3 @@
volumes:
parameters:
lotus-repo:
lotus-shared:
services: services:
lotus: lotus:
environment: environment:
@ -19,3 +14,9 @@ services:
condition: on-failure condition: on-failure
delay: 30s delay: 30s
command: ["lotus", "daemon"] command: ["lotus", "daemon"]
volumes:
parameters:
lotus-repo:
lotus_shared:

View File

@ -1,12 +0,0 @@
#!/usr/bin/env bash
# Build cerc/lotus-fixturenet
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-fixturenet:local ${build_command_args} ${CERC_REPO_BASE_DIR}/lotus

View File

@ -1,12 +0,0 @@
#!/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