Merge pull request #440 from gabrielhesposito/fix_docker_build

Fix docker build
This commit is contained in:
miguelfreitas 2020-12-18 10:39:30 -03:00 committed by GitHub
commit 182076cd29
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,13 +1,13 @@
# #
# Dockerfile for building Twister peer-to-peer micro-blogging # Dockerfile for building Twister peer-to-peer micro-blogging
# #
FROM ubuntu:14.04 FROM ubuntu:20.04
# Install twister-core # Install twister-core
RUN apt-get update 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 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 RUN git clone https://github.com/miguelfreitas/twister-core.git
ADD . /twister-core COPY . /twister-core
RUN cd twister-core && \ RUN cd twister-core && \
./bootstrap.sh && \ ./bootstrap.sh && \
make make