Public | Automated Build

Last pushed: 2 years ago
Short Description
Building and developing Bitcoin in docker containers.
Full Description

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.

Docker Pull Command
Owner
cdecker
Source Repository

Comments (0)