From bf18317f986fb3ba46e49ba9cd005cca0df0b203 Mon Sep 17 00:00:00 2001 From: "jonathan@vulcanize.io" Date: Thu, 25 Apr 2024 03:23:04 +0000 Subject: [PATCH] fixed lotus-mainnet dockerfile --- .../data/compose/docker-compose-mainnet-lotus.yml | 11 ++++++----- .../container-build/cerc-lotus-fixturenet/build.sh | 12 ------------ .../data/container-build/cerc-lotus/build.sh | 12 ------------ 3 files changed, 6 insertions(+), 29 deletions(-) delete mode 100755 stack_orchestrator/data/container-build/cerc-lotus-fixturenet/build.sh delete mode 100755 stack_orchestrator/data/container-build/cerc-lotus/build.sh diff --git a/stack_orchestrator/data/compose/docker-compose-mainnet-lotus.yml b/stack_orchestrator/data/compose/docker-compose-mainnet-lotus.yml index d9c1803b..384e38b7 100644 --- a/stack_orchestrator/data/compose/docker-compose-mainnet-lotus.yml +++ b/stack_orchestrator/data/compose/docker-compose-mainnet-lotus.yml @@ -1,8 +1,3 @@ -volumes: - parameters: - lotus-repo: - lotus-shared: - services: lotus: environment: @@ -19,3 +14,9 @@ services: condition: on-failure delay: 30s command: ["lotus", "daemon"] + +volumes: + parameters: + lotus-repo: + lotus_shared: + diff --git a/stack_orchestrator/data/container-build/cerc-lotus-fixturenet/build.sh b/stack_orchestrator/data/container-build/cerc-lotus-fixturenet/build.sh deleted file mode 100755 index 5c9df69e..00000000 --- a/stack_orchestrator/data/container-build/cerc-lotus-fixturenet/build.sh +++ /dev/null @@ -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 - diff --git a/stack_orchestrator/data/container-build/cerc-lotus/build.sh b/stack_orchestrator/data/container-build/cerc-lotus/build.sh deleted file mode 100755 index b9520699..00000000 --- a/stack_orchestrator/data/container-build/cerc-lotus/build.sh +++ /dev/null @@ -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