Skip to content

Instantly share code, notes, and snippets.

@yanmhlv
Created May 11, 2019 12:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yanmhlv/5de0aa95b7a1281349a1c6adb979052c to your computer and use it in GitHub Desktop.
Save yanmhlv/5de0aa95b7a1281349a1c6adb979052c to your computer and use it in GitHub Desktop.
bitcoin
FROM ubuntu:16.04
# Install bitcoind from PPA
RUN apt-get update
RUN apt-get install --yes software-properties-common
RUN add-apt-repository --yes ppa:bitcoin/bitcoin
RUN apt-get update
# install bitcoind (from PPA) and make
RUN apt-get install --yes bitcoind
WORKDIR /home/bitcoind
EXPOSE 8333 8332 18333 18332 18444 18443
CMD ["/bin/bash"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment