From 926acedfd9e854ede6e3f5421f5295485196a003 Mon Sep 17 00:00:00 2001 From: sveitser Date: Thu, 30 May 2024 13:29:04 +0200 Subject: [PATCH] Fix copying of genesis data --- scripts/build-docker-images | 3 ++- scripts/build-docker-images-native | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/scripts/build-docker-images b/scripts/build-docker-images index 57501dc3e..14742079e 100755 --- a/scripts/build-docker-images +++ b/scripts/build-docker-images @@ -19,7 +19,8 @@ cleanup(){ } # Copy data files to Docker context. -cp -r data/genesis ${WORKDIR}/genesis +mkdir -p ${WORKDIR}/data +cp -rv data/genesis ${WORKDIR}/data/ for ARCH in "amd64" "arm64"; do case "$ARCH" in diff --git a/scripts/build-docker-images-native b/scripts/build-docker-images-native index 039e2bb96..3749b12be 100755 --- a/scripts/build-docker-images-native +++ b/scripts/build-docker-images-native @@ -83,7 +83,8 @@ cleanup(){ } # Copy data files to Docker context. -cp -r data/genesis ${WORKDIR}/genesis +mkdir -p ${WORKDIR}/data +cp -rv data/genesis ${WORKDIR}/data/ mkdir -p "${WORKDIR}/target/$ARCH/release" for binary in "orchestrator" "cdn-broker" "cdn-marshal" "cdn-whitelist" "sequencer" "commitment-task" "submit-transactions" "reset-storage" "state-relay-server" "state-prover" "deploy" "keygen" "permissionless-builder" "nasty-client" "pub-key" "espresso-bridge"; do