lncm/berkeleydb
Base Berkeley DB stage for Bitcoind w/wallet builds
50K+
This is the base image for lncm/bitcoind Docker images that rely on Berkeleydb version db-4.8.30.NC
. This stage is separated from the main bitcoind build process for two reasons:
qemu
-emulated builds take a very long time, separating out this part of the build helps save precious minutes.Images here are built for three architectures: amd64
, arm
, and aarch64
(aka arm64
). The latter two are built using qemu
emulation. For details see here.
Pulling this image directly is only useful if you know exactly what you need it for, can be achieved with:
docker pull lncm/berkeleydb:db-4.8.30.NC
NOTE: architecture is chosen automatically based on the CPU of the Docker host.
Manual
To manually specify the architecture, use one of the commands below.
docker pull lncm/berkeleydb:db-4.8.30.NC-arm
docker pull lncm/berkeleydb:db-4.8.30.NC-arm64
docker pull lncm/berkeleydb:db-4.8.30.NC-amd64
To build bitcoind w/o the need to rebuild Berkeleydb, you can do:
# Start new stage to build _something_
FROM alpine AS something
# Copy all BDB relevant files to your stage
COPY --from=lncm/berkeleydb:db-4.8.30.NC /opt /opt
# …
# continue with your instructions here
docker pull lncm/berkeleydb