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