From c8431ee75df6cf9163a71df49e08e408c5f32d48 Mon Sep 17 00:00:00 2001 From: Gabriel Esposito Date: Thu, 17 Dec 2020 20:34:35 -0500 Subject: [PATCH 1/2] +bumped ubuntu/changed packages --> docker build passes --- Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 3665d5c3..b4195094 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,13 +1,13 @@ # # Dockerfile for building Twister peer-to-peer micro-blogging # -FROM ubuntu:14.04 +FROM ubuntu:20.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 DEBIAN_FRONTEND=noninteractive apt-get install -y iproute2 git autoconf libtool build-essential libboost-all-dev libssl-dev libdb++-dev libminiupnpc-dev automake +RUN git clone https://github.com/miguelfreitas/twister-core.git +COPY . /twister-core RUN cd twister-core && \ ./bootstrap.sh && \ make From 3e78cc1955c12fcc7335da136d7b01102609acce Mon Sep 17 00:00:00 2001 From: Gabriel Esposito Date: Thu, 17 Dec 2020 20:42:39 -0500 Subject: [PATCH 2/2] added back clean --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index b4195094..8720206f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,7 +5,7 @@ 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 +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 && \