From b560d36da14892ea53a40b25541ebe845f495b26 Mon Sep 17 00:00:00 2001 From: Dominion5254 Date: Thu, 2 Jan 2025 10:20:01 -0700 Subject: [PATCH] Fix/base image (#156) * use berklydb for correct arch * fix casings --- Dockerfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 40eec49..4fe8769 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,12 @@ # From https://github.com/ruimarinho/docker-bitcoin-core # Build stage for BerkeleyDB -FROM lncm/berkeleydb as berkeleydb +ARG PLATFORM + +FROM lncm/berkeleydb:db-4.8.30.NC-${PLATFORM} AS berkeleydb # Build stage for Bitcoin Core -FROM alpine:3.18 as bitcoin-core +FROM alpine:3.18 AS bitcoin-core COPY --from=berkeleydb /opt /opt