add yubico-piv-tool & pivman

Signed-off-by: Jessica Frazelle <acidburn@docker.com>
This commit is contained in:
Jessica Frazelle 2015-10-10 21:34:29 -07:00
parent c7ed3a7c7b
commit 8273a35ddc
No known key found for this signature in database
GPG Key ID: 18F3685C0022BFF3
2 changed files with 43 additions and 0 deletions

25
pivman/Dockerfile Normal file
View File

@ -0,0 +1,25 @@
# Run pivman (yubikey-piv-manager) in a container
#
# docker run -d \
# -v /etc/localtime:/etc/localtime:ro \
# -v /tmp/.X11-unix:/tmp/.X11-unix \
# -e DISPLAY=unix$DISPLAY \
# --device /dev/bus/usb \
# --device /dev/usb \
# --name pivman \
# jess/pivman
#
FROM ubuntu:14.04
MAINTAINER Jessie Frazelle <jess@linux.com>
RUN apt-get update && apt-get install -y \
software-properties-common \
--no-install-recommends && \
add-apt-repository ppa:yubico/stable && \
apt-get update && \
apt-get install -y \
usbutils \
yubikey-piv-manager \
&& rm -rf /var/lib/apt/lists/*
ENTRYPOINT [ "pivman" ]

View File

@ -0,0 +1,18 @@
# Run znc in a container
#
# docker run --rm -it \
# --device /dev/bus/usb \
# --device /dev/usb
# --name yubico-piv-tool \
# jess/yubico-piv-tool
#
FROM debian:sid
MAINTAINER Jessica Frazelle <jess@docker.com>
RUN apt-get update && apt-get install -y \
usbutils \
yubico-piv-tool \
&& rm -rf /var/lib/apt/lists/*
ENTRYPOINT [ "yubico-piv-tool" ]
CMD [ "--help" ]