Building and developing Bitcoin in docker containers.
1.9K
Building and developing Bitcoin in docker containers.
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.
Content type
Image
Digest
sha256:42e12ae23…
Size
467.9 MB
Last updated
almost 11 years ago
docker pull cdecker/bitcoin-dev