Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/keepassxreboot/keepassxc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile32
1 files changed, 26 insertions, 6 deletions
diff --git a/Dockerfile b/Dockerfile
index 3aee19e3c..9623b60dd 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -14,21 +14,41 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-FROM ubuntu:16.04
+FROM ubuntu:14.04
-RUN set -x && apt-get update
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-tools \
+ qt58base \
+ qt58tools \
+ qt58x11extras \
libmicrohttpd-dev \
- libqt5x11extras5-dev \
libxi-dev \
libxtst-dev \
- zlib1g-dev
+ zlib1g-dev \
+ wget \
+ 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