Community driven twister-core
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
#
|
|
|
|
# Dockerfile for building Twister peer-to-peer micro-blogging
|
|
|
|
#
|
|
|
|
FROM ubuntu:20.04
|
|
|
|
|
|
|
|
# Install twister-core
|
|
|
|
RUN apt-get update
|
|
|
|
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y iproute2 git autoconf libtool build-essential libboost-all-dev libssl-dev libdb++-dev libminiupnpc-dev automake && apt-get clean
|
|
|
|
RUN git clone https://github.com/miguelfreitas/twister-core.git
|
|
|
|
COPY . /twister-core
|
|
|
|
RUN cd twister-core && \
|
|
|
|
./bootstrap.sh && \
|
|
|
|
make
|
|
|
|
|
|
|
|
# Install twister-html
|
|
|
|
RUN git clone https://github.com/miguelfreitas/twister-html.git /twister-html
|
|
|
|
|
|
|
|
# Configure HOME directory
|
|
|
|
# and persist twister data directory as a volume
|
|
|
|
ENV HOME /root
|
|
|
|
VOLUME /root/.twister
|
|
|
|
|
|
|
|
# Run twisterd by default
|
|
|
|
ENTRYPOINT ["/twister-core/docker-entrypoint.sh"]
|
|
|
|
EXPOSE 28332
|