# KeePassXC Linux Release Build Dockerfile # Copyright (C) 2017 KeePassXC team # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 or (at your option) # version 3 of the License. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . FROM centos:7 RUN set -x \ && curl "https://copr.fedorainfracloud.org/coprs/bugzy/keepassxc/repo/epel-7/bugzy-keepassxc-epel-7.repo" \ > /etc/yum.repos.d/bugzy-keepassxc-epel-7.repo RUN set -x \ && yum clean -y all \ && yum install -y epel-release \ && yum upgrade -y # build and runtime dependencies RUN set -x \ && yum install -y \ make \ automake \ gcc-c++ \ cmake3 \ libgcrypt16-devel \ qt5-qtbase-devel \ qt5-linguist \ qt5-qttools \ zlib-devel \ qt5-qtx11extras \ qt5-qtx11extras-devel \ libXi-devel \ libXtst-devel \ libyubikey-devel \ ykpers-devel # AppImage dependencies RUN set -x \ && yum install -y \ wget \ fuse-libs RUN set -x \ && ln -s /usr/bin/cmake3 /usr/bin/cmake VOLUME /keepassxc/src VOLUME /keepassxc/out WORKDIR /keepassxc