From f9b1205a5f973149613ba2210e3fdb23d145d84d Mon Sep 17 00:00:00 2001 From: Volker Date: Sat, 29 Oct 2016 13:09:23 -0400 Subject: [PATCH] Update usage description of slack & keepass2 (#203) * Update usage section to allow command line arguments CMD was changed to ENTRYPOINT, the USAGE section didn't reflect this change * Update usage to reflect a recent usage bug fix Aligned usage description to include a recently found bugfix. Added & adjusted other possible command line options. --- keepass2/Dockerfile | 2 +- slack/Dockerfile | 11 ++++++++--- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/keepass2/Dockerfile b/keepass2/Dockerfile index 068310d..dfe59b8 100644 --- a/keepass2/Dockerfile +++ b/keepass2/Dockerfile @@ -9,7 +9,7 @@ # -v /home/$USER/DB.kdbx:/root/DB.kdbx \ # -v /tmp/.X11-unix:/tmp/.X11-unix \ # -e DISPLAY=$DISPLAY \ -# keepass2 +# keepass2 "$@" # # ISSUES: # # 'Gtk: cannot open display: :0' diff --git a/slack/Dockerfile b/slack/Dockerfile index f0f80d1..b92c185 100644 --- a/slack/Dockerfile +++ b/slack/Dockerfile @@ -4,10 +4,15 @@ # -v /etc/localtime:/etc/localtime:ro \ # -v /tmp/.X11-unix:/tmp/.X11-unix \ # -e DISPLAY=unix$DISPLAY \ -# --device /dev/snd:/dev/snd \ -# --device /dev/dri:/dev/dri \ +# --device /dev/snd \ +# --device /dev/dri \ +# --device /dev/video0 \ +# --group-add audio \ +# --group-add video \ +# -v "${HOME}/.slack:/root/.config/Slack" \ +# --ipc="host" \ # --name slack \ -# jess/slack +# jess/slack "$@" FROM debian:stretch MAINTAINER Jessie Frazelle