Creates a KeePassX 2.0 binary deb distribution artifact, suitable for installation under Ubuntu (tested with 16.04LTS) and possibly Debian/variants.
Docker image uses Ubuntu 16.04LTS as base with deb package produced using checkinstall.
Image has also been pushed to Docker Hub.
With Docker installed and working on host system:
$ ./build.sh
# waiting... as Docker builds image
# or alternatively to ./build.sh:
# $ docker pull magnetikonline/keepassxdeb
$ ./extractdeb.sh
# package extracted from container
$ ls -l keepassx_2.0.3-1_amd64.deb
-rw-r--r-- 1 root root 467536 Oct 12 10:29 keepassx_2.0.3-1_amd64.deb
$ sudo dpkg -i keepassx_2.0.3-1_amd64.deb
# installing package to host system...
# KeePassX requires libgcrypt.so.20, lets install
$ sudo apt-get install libgcrypt20
$ keepassx
Done.