Skip to content
Permalink
Browse files

Revert dockerfile to trusty and build sodium locally

  • Loading branch information...
redsky17 committed Feb 27, 2019
1 parent 0c9af63 commit 1ac56e9c4e505aac47b7c4c2eec5bfee724d4190
Showing with 12 additions and 4 deletions.
  1. +12 −4 Dockerfile
@@ -1,20 +1,20 @@
FROM ubuntu:bionic
FROM ubuntu:trusty

RUN \
apt-get update -qq && \
apt-get install -y software-properties-common && \
add-apt-repository -y ppa:beineri/opt-qt-5.10.1-trusty && \
add-apt-repository -y ppa:ubuntu-toolchain-r/test && \
apt-get update -qq && \
apt-get install -y \
qtbase5-dev qttools5-dev libqt5svg5-dev qtmultimedia5-dev qt5-default \
qt510base qt510tools qt510svg qt510multimedia \
gcc-5 g++-5

RUN \
apt-get install -y \
make \
pkg-config \
ninja-build \
libsodium-dev \
liblmdb-dev \
libssl-dev \
mesa-common-dev \
@@ -32,8 +32,16 @@ RUN \
update-alternatives --set gcc "/usr/bin/gcc-5" && \
update-alternatives --set g++ "/usr/bin/g++-5"

RUN \
mkdir libsodium-1.0.14 && \
wget https://download.libsodium.org/libsodium/releases/old/libsodium-1.0.14.tar.gz && \
tar -xzvf libsodium-1.0.14.tar.gz -C libsodium-1.0.14 && \
cd libsodium-1.0.14/libsodium-1.0.14 && \
./configure && \
make && make install

ENV PATH=/opt/qt510/bin:$PATH

RUN mkdir /build

WORKDIR /build
WORKDIR /build

0 comments on commit 1ac56e9

Please sign in to comment.
You can’t perform that action at this time.