From acaf1bc852eb37e22e7c88d3ca7a7f42398ca919 Mon Sep 17 00:00:00 2001 From: Christian Koep Date: Fri, 22 May 2015 19:50:11 +0200 Subject: [PATCH] added keepass2 --- keepass2/Dockerfile | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 keepass2/Dockerfile diff --git a/keepass2/Dockerfile b/keepass2/Dockerfile new file mode 100644 index 0000000..6e12f1e --- /dev/null +++ b/keepass2/Dockerfile @@ -0,0 +1,23 @@ +# VERSION: 0.1 +# DESCRIPTION: Create keepass2 container with its dependencies +# AUTHOR: Christian Koep +# USAGE: +# # Build keepass2 image +# docker build -t keepass2 . +# +# # Run the container and mount your keepass2 database file +# docker run -it -v /home/$USER/DB.kdbx:/root/DB.kdbx -v /tmp/.X11-unix:/tmp/.X11-unix -e DISPLAY=$DISPLAY keepass2 +# +# ISSUES: +# # 'Gtk: cannot open display: :0' +# Try to set 'DISPLAY=your_host_ip:0' or run 'xhost +' on your host. +# (see: http://stackoverflow.com/questions/28392949/running-chromium-inside-docker-gtk-cannot-open-display-0) +# + +FROM debian:jessie +MAINTAINER Christian Koep +ENV DEBIAN_FRONTEND noninteractiv +RUN apt-get update && apt-get install -y \ + keepass2 \ + xdotool +CMD ["/usr/bin/keepass2"]