Sign inSign up

cdecker/bitcoin-dev

By cdecker

Updated almost 11 years ago

Building and developing Bitcoin in docker containers.

Image
4

1.9K

cdecker/bitcoin-dev repository overview

bitcoin-dev Docker Images

Building and developing Bitcoin in docker containers.

Requirements

  • Docker 1.2+
  • An X11 socket (for IDEs)

Images

Quickstart

In order to build bitcoin in cdecker/bitcoin-dev:common

git clone https://github.com/bitcoin/bitcoin.git
sudo docker run -ti -v `pwd`/bitcoin:/bitcoin cdecker/bitcoin-dev:common
./autogen.sh
./configure
make

Notice: the last steps are executed in the docker container and are part of the bitcoin build process.

To run netbeans on a checked out copy of the bitcoin sources execute

xhost +
sudo docker run -ti \
    -v `pwd`/bitcoin:/bitcoin \
    -v /tmp/.X11-unix:/tmp/.X11-unix \
    -e DISPLAY=$DISPLAY \
    bitcoin-dev:netbeans

Notice that this gives the container access to the host's X server.

Tag summary

Content type

Image

Digest

sha256:42e12ae23

Size

467.9 MB

Last updated

almost 11 years ago

docker pull cdecker/bitcoin-dev