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