Docker file updates

This commit is contained in:
Srdjan Obucina 2019-08-20 16:08:05 +02:00
parent 0550711ddf
commit 58b67524bf

View file

@ -2,10 +2,12 @@ FROM ubuntu:18.04
MAINTAINER PeerPlays Blockchain Standards Association
ENV LANG=en_US.UTF-8
ENV DEBIAN_FRONTEND=noninteractive
ENV LANGUAGE en_US.UTF-8
ENV LC_ALL en_US.UTF-8
RUN \
apt-get update -y && \
apt-get install -y \
DEBIAN_FRONTEND=noninteractive apt-get install -y \
autoconf \
build-essential \
ca-certificates \
@ -22,8 +24,6 @@ RUN \
ntp \
wget \
&& \
apt-get update -y && \
apt-get install -y fish && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
@ -32,7 +32,6 @@ WORKDIR /peerplays-core
# Compile Boost
RUN \
git submodule update --init --recursive && \
BOOST_ROOT=$HOME/boost_1_67_0 && \
wget -c 'http://sourceforge.net/projects/boost/files/boost/1.67.0/boost_1_67_0.tar.gz/download' -O boost_1_67_0.tar.gz &&\
tar -zxvf boost_1_67_0.tar.gz && \
@ -41,9 +40,10 @@ RUN \
./b2 install && \
cd ..
# Compile Boost
# Compile Peerplays
RUN \
BOOST_ROOT=$HOME/boost_1_67_0 && \
git submodule update --init --recursive && \
mkdir build && \
mkdir build/release && \
cd build/release && \