From c5b49127b048e46778ca6dc6579f492dfe6b15c4 Mon Sep 17 00:00:00 2001 From: Facundo Date: Fri, 23 Aug 2024 15:31:43 +0200 Subject: [PATCH] rollback --- contrib/images/simd-env/Dockerfile | 4 ++-- contrib/images/simd-env/wrapper.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/contrib/images/simd-env/Dockerfile b/contrib/images/simd-env/Dockerfile index 6661f00334a0..8ff6675b0379 100644 --- a/contrib/images/simd-env/Dockerfile +++ b/contrib/images/simd-env/Dockerfile @@ -33,7 +33,7 @@ COPY core/testing/go.mod core/testing/go.sum /work/core/testing/ RUN go mod download COPY ./ /work -RUN COSMOS_BUILD_OPTIONS=v2 LEDGER_ENABLED=false make clean build +RUN LEDGER_ENABLED=false make clean build FROM alpine AS run @@ -46,4 +46,4 @@ VOLUME /simd WORKDIR /simd COPY contrib/images/simd-env/wrapper.sh /usr/bin/wrapper.sh -COPY --from=build /work/build/simdv2 /simd/ +COPY --from=build /work/build/simd /simd/ diff --git a/contrib/images/simd-env/wrapper.sh b/contrib/images/simd-env/wrapper.sh index c9728a47ef3c..d95bf58890ed 100755 --- a/contrib/images/simd-env/wrapper.sh +++ b/contrib/images/simd-env/wrapper.sh @@ -2,7 +2,7 @@ set -euo pipefail set -x -BINARY=/simd/${BINARY:-simdv2} +BINARY=/simd/${BINARY:-simd} ID=${ID:-0} LOG=${LOG:-simd.log} @@ -11,7 +11,7 @@ if ! [ -f "${BINARY}" ]; then exit 1 fi -export SIMDHOME="/data/node${ID}/simdv2" +export SIMDHOME="/data/node${ID}/simd" if [ -d "$(dirname "${SIMDHOME}"/"${LOG}")" ]; then "${BINARY}" --home "${SIMDHOME}" "$@" | tee "${SIMDHOME}/${LOG}"