diff options
author | Janek Bevendorff <janek@jbev.net> | 2017-02-06 21:52:21 +0300 |
---|---|---|
committer | Janek Bevendorff <janek@jbev.net> | 2017-02-06 23:13:24 +0300 |
commit | f7e9f856687a80ca9517aabf375201d22d1f3014 (patch) | |
tree | 3bb0cf4c9a22ea3aef4d614f2c3afa2b3e742b98 /Dockerfile | |
parent | e31638d3dda560a2f08ba73e5669bf254d6c84ca (diff) |
Install Qt 5.8 inside Docker container
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 22 |
1 files changed, 18 insertions, 4 deletions
diff --git a/Dockerfile b/Dockerfile index 422e4da84..9623b60dd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -18,15 +18,21 @@ FROM ubuntu:14.04 RUN set -x \ && apt-get update \ + && apt-get install --yes software-properties-common + +RUN set -x \ + && add-apt-repository --yes ppa:beineri/opt-qt58-trusty + +RUN set -x \ + && apt-get update \ && apt-get install --yes \ g++ \ cmake \ libgcrypt20-dev \ - qtbase5-dev \ - qttools5-dev \ - qttools5-dev-tools \ + qt58base \ + qt58tools \ + qt58x11extras \ libmicrohttpd-dev \ - libqt5x11extras5-dev \ libxi-dev \ libxtst-dev \ zlib1g-dev \ @@ -34,7 +40,15 @@ RUN set -x \ file \ fuse \ python + +RUN set -x \ + && apt-get install --yes mesa-common-dev VOLUME /keepassxc/src VOLUME /keepassxc/out WORKDIR /keepassxc + +ENV CMAKE_PREFIX_PATH=/opt/qt58/lib/cmake +ENV LD_LIBRARY_PATH=/opt/qt58/lib +RUN set -x \ + && echo /opt/qt58/lib > /etc/ld.so.conf.d/qt58.conf |