mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2025-02-17 09:37:49 +01:00
add yubico-piv-tool & pivman
Signed-off-by: Jessica Frazelle <acidburn@docker.com>
This commit is contained in:
parent
c7ed3a7c7b
commit
8273a35ddc
25
pivman/Dockerfile
Normal file
25
pivman/Dockerfile
Normal 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" ]
|
18
yubico-piv-tool/Dockerfile
Normal file
18
yubico-piv-tool/Dockerfile
Normal 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" ]
|
Loading…
Reference in New Issue
Block a user