Created
September 19, 2020 02:31
-
-
Save tofti/fa17227a2f7da9c09999318d2db198bb to your computer and use it in GitHub Desktop.
bitcoin node build environment
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu:latest | |
MAINTAINER Iain Toft | |
LABEL version="1.0" location="US" type="ubuntu-with-bitcoind" | |
ENV TZ=America/New_York | |
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone ; \ | |
apt-get -y update; \ | |
apt-get -y install sudo; \ | |
apt-get -y install vim; \ | |
apt-get -y install openssh-server; \ | |
apt-get -y install tmux; \ | |
apt-get -y install net-tools; \ | |
apt-get -y install git; \ | |
apt-get -y install valgrind ccache ; \ | |
apt-get -y install build-essential libtool autotools-dev automake pkg-config bsdmainutils python3; \ | |
apt-get -y install libevent-dev libboost-system-dev libboost-filesystem-dev libboost-test-dev libboost-thread-dev | |
RUN useradd -rm -d /home/btc -s /bin/bash -g root -G sudo -u 1000 btc | |
RUN usermod -aG sudo btc | |
RUN echo 'btc:btc' | chpasswd | |
VOLUME ["/home/btc"] | |
WORKDIR /home/btc | |
USER btc | |
ENTRYPOINT /bin/bas |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment