mirror of
https://github.com/twisterarmy/twister-core.git
synced 2025-01-22 20:44:56 +00:00
b1b0ec8709
This is needed for Docker >=1.9 because the bridge IP is not necessarily 172.17.42.1 anymore. (See https://github.com/docker/docker/issues/17305 for reference.) refs #357
26 lines
707 B
Docker
26 lines
707 B
Docker
#
|
|
# Dockerfile for building Twister peer-to-peer micro-blogging
|
|
#
|
|
FROM ubuntu:14.04
|
|
|
|
# Install twister-core
|
|
RUN apt-get update
|
|
RUN apt-get install -y git autoconf libtool build-essential libboost-all-dev libssl-dev libdb++-dev libminiupnpc-dev && apt-get clean
|
|
#RUN git clone https://github.com/miguelfreitas/twister-core.git
|
|
ADD . /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"]
|
|
EXPOSE 28332
|