Skip to content

Instantly share code, notes, and snippets.

@jphellemons
Created March 18, 2020 19:28
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 jphellemons/2b8bcc63cfbe18683888773953a47171 to your computer and use it in GitHub Desktop.
Save jphellemons/2b8bcc63cfbe18683888773953a47171 to your computer and use it in GitHub Desktop.
FROM arm64v8/alpine:3.7
RUN apk update
RUN apk upgrade
RUN apk add git \
unzip \
zip \
wget \
g++ \
make \
boost-dev \
# libssl1.0 \
openssl-dev \
build-base \
cmake \
miniupnpc-dev \
libc-dev \
gnutls \
curl-dev \
minizip-dev \
alpine-sdk \
libevent \
automake \
autoconf \
libtool \
db-dev \
db \
db-c++ \
libevent-dev \
boost \
boost-thread \
openssh-client \
libcurl \
musl \
libgcc \
libstdc++ \
outils-sha256 \
libcrypto1.0 \
libgcrypt \
libgcrypt-dev \
openrc \
openssh \
xz \
texinfo
# openrc and openssh for remote debugging from visual studio code
RUN rc-update add sshd
#RUN /etc/init.d/sshd start
# get gdbserver for remote debugging
RUN wget http://ftp.gnu.org/gnu/gdb/gdb-7.11.tar.xz -O ~/gdb-7.11.tar.xz
RUN sudo xz -d ~/gdb-7.11.tar.xz
RUN ls ~/
RUN sudo tar -xvf ~/gdb-7.11.tar
RUN ls ~/
RUN cd gdb-7.11 && ./configure --prefix=/usr && make && make -C gdb install
RUN git clone -4 --branch master --single-branch -v https://github.com/jphellemons/vericoin.git ~/git>
RUN cd ~/git/vericoin/src/ && make -f makefile.unix
RUN cp ~/git/vericoin/src/vericoind /usr/bin/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment