Sign inSign up

lncm/berkeleydb

By lncm

•Updated over 6 years ago

Base Berkeley DB stage for Bitcoind w/wallet builds

Image
Message queues
Databases & storage
1

50K+

lncm/berkeleydb repository overview

⁠lncm/berkeleydb

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:

  1. BDB never changes and is only useful when bitcoind is compiled with wallet support enabled,
  2. 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⁠.

⁠Pull

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

⁠Dockerfile

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 

Tag summary

Content type

Image

Digest

Size

9.9 MB

Last updated

over 6 years ago

docker pull lncm/berkeleydb