2017-02-10 22:34:04 +01:00
|
|
|
# keepassxc
|
|
|
|
#
|
|
|
|
# docker run -d \
|
|
|
|
# -v /tmp/.X11-unix:/tmp/.X11-unix \
|
|
|
|
# -v /etc/machine-id:/etc/machine-id:ro \
|
2017-08-20 13:23:15 +02:00
|
|
|
# -v /usr/share/X11/xkb:/usr/share/X11/xkb/:ro \
|
|
|
|
# -v $HOME/.config/keepassxc:/root/.config/keepassxc \
|
2017-02-10 22:34:04 +01:00
|
|
|
# -e DISPLAY=unix$DISPLAY \
|
2018-07-24 17:23:38 +02:00
|
|
|
# jess/keepassxc
|
2017-02-10 22:34:04 +01:00
|
|
|
#
|
2018-09-14 17:48:08 +02:00
|
|
|
FROM alpine:latest
|
2017-04-04 09:19:34 +02:00
|
|
|
LABEL maintainer "Christian Koep <christiankoep@gmail.com>"
|
2017-02-10 22:34:04 +01:00
|
|
|
|
2019-05-25 22:41:50 +02:00
|
|
|
ENV KEEPASSXC_VERSION 2.4.1
|
2017-02-10 22:34:04 +01:00
|
|
|
|
|
|
|
RUN buildDeps=' \
|
2018-09-25 10:37:40 +02:00
|
|
|
automake \
|
|
|
|
argon2-dev \
|
|
|
|
bash \
|
|
|
|
cmake \
|
|
|
|
curl-dev \
|
|
|
|
expat \
|
|
|
|
g++ \
|
|
|
|
gcc \
|
|
|
|
git \
|
|
|
|
libgcrypt-dev \
|
|
|
|
libmicrohttpd-dev \
|
2019-05-25 22:41:50 +02:00
|
|
|
libqrencode-dev \
|
2018-09-25 10:37:40 +02:00
|
|
|
make \
|
|
|
|
qt5-qtbase-dev \
|
2019-05-25 22:41:50 +02:00
|
|
|
qt5-qtsvg-dev \
|
2018-09-25 10:37:40 +02:00
|
|
|
qt5-qttools-dev \
|
2017-02-10 22:34:04 +01:00
|
|
|
' \
|
|
|
|
set -x \
|
2018-03-02 21:57:06 +01:00
|
|
|
&& apk --no-cache add \
|
|
|
|
$buildDeps \
|
2017-02-10 22:34:04 +01:00
|
|
|
&& git clone --depth 1 --branch ${KEEPASSXC_VERSION} https://github.com/keepassxreboot/keepassxc.git /usr/src/keepassxc \
|
|
|
|
&& cd /usr/src/keepassxc \
|
|
|
|
&& mkdir build \
|
|
|
|
&& cd build \
|
|
|
|
&& cmake -DWITH_TESTS=ON -DWITH_XC_AUTOTYPE=ON -DWITH_XC_HTTP=ON .. \
|
|
|
|
&& make \
|
|
|
|
&& make install \
|
|
|
|
&& apk del $buildDeps \
|
|
|
|
&& rm -rf /usr/src/keepassxc \
|
|
|
|
&& echo "Build complete."
|
|
|
|
|
2017-04-17 19:29:27 +02:00
|
|
|
RUN apk --no-cache add \
|
2018-03-02 21:57:06 +01:00
|
|
|
argon2-libs \
|
|
|
|
libcurl \
|
2017-02-10 22:34:04 +01:00
|
|
|
libmicrohttpd \
|
|
|
|
libgcrypt \
|
|
|
|
mesa-dri-intel \
|
|
|
|
qt5-qtbase \
|
|
|
|
qt5-qtbase-x11 \
|
|
|
|
qt5-qttools \
|
2017-04-08 21:19:12 +02:00
|
|
|
ttf-dejavu
|
2017-02-10 22:34:04 +01:00
|
|
|
|
|
|
|
ENTRYPOINT [ "/usr/local/bin/keepassxc" ]
|