Quick fix: Added missing package pkg-config

This commit is contained in:
Srdjan Obucina 2019-08-20 15:51:27 +02:00 committed by gladcow
parent faf9adf73e
commit fe6d7a14b1

View file

@ -1,24 +1,12 @@
FROM ubuntu:18.04
MAINTAINER PeerPlays Blockchain Standards Association
<<<<<<< HEAD
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US.UTF-8
ENV LC_ALL en_US.UTF-8
RUN \
apt-get update -y && \
DEBIAN_FRONTEND=noninteractive apt-get install -y \
autoconf \
bash \
=======
ENV LANG=en_US.UTF-8
ENV DEBIAN_FRONTEND=noninteractive
RUN \
apt-get update -y && \
apt-get install -y \
autoconf \
>>>>>>> Docker file for Ubuntu 18.04
build-essential \
ca-certificates \
cmake \
@ -31,15 +19,12 @@ RUN \
libreadline-dev \
libssl-dev \
libtool \
<<<<<<< HEAD
locales \
pkg-config \
ntp \
pkg-config \
doxygen \
ca-certificates \
=======
ntp \
>>>>>>> Docker file for Ubuntu 18.04
wget \
&& \
apt-get clean && \
@ -62,7 +47,7 @@ RUN \
ADD . /peerplays-core
WORKDIR /peerplays-core
# Compile Peerplays
# Compile Boost
RUN \
git submodule update --init --recursive && \
BOOST_ROOT=$HOME/boost_1_67_0 && \
@ -71,7 +56,11 @@ RUN \
cd boost_1_67_0/ && \
./bootstrap.sh "--prefix=$BOOST_ROOT" && \
./b2 install && \
cd .. && \
cd ..
# Compile Peerplays
RUN \
BOOST_ROOT=$HOME/boost_1_67_0 && \
mkdir build && \
mkdir build/release && \
cd build/release && \