From 8760a8d094db83c2214b6ecaa3ab495db08c8048 Mon Sep 17 00:00:00 2001 From: Carlton N Hanna Date: Mon, 30 Oct 2023 13:33:34 -0600 Subject: [PATCH] remove cleveldb, check build archs --- docker/blockchain/Dockerfile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/docker/blockchain/Dockerfile b/docker/blockchain/Dockerfile index 8ed9099630..832d56cb5d 100644 --- a/docker/blockchain/Dockerfile +++ b/docker/blockchain/Dockerfile @@ -23,8 +23,12 @@ COPY Makefile sims.mk ./ # Build and install provenanced ENV VERSION=$VERSION RUN ARCH=$(uname -m) && \ - echo "Building provnenace for Arch: $ARCH"; \ - make VERSION=${VERSION} WITH_CLEVELDB=true install + if [ "$ARCH" != "x86_64" ] && [ "$ARCH" != "aarch64" ]; then \ + echo "Unsupported architecture (required: x86_64 or aarch64): $ARCH"; \ + exit 1; \ + fi && \ + echo "Building and installing provenance for Arch: $ARCH"; \ + make VERSION=${VERSION} install ### FROM debian:bullseye-slim as run