Skip to content

Commit

Permalink
remove cleveldb, check build archs
Browse files Browse the repository at this point in the history
  • Loading branch information
nullpointer0x00 committed Oct 30, 2023
1 parent 5e35d78 commit 8760a8d
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions docker/blockchain/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8760a8d

Please sign in to comment.