dockerfiles/yubico-piv-tool/Dockerfile
Jessica Frazelle 6f4c42fffb
update yubico-piv-tool
Signed-off-by: Jessica Frazelle <acidburn@docker.com>
2015-10-31 22:14:28 -07:00

24 lines
476 B
Docker

# Run yubico-piv-tool 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 \
pcscd \
usbutils \
yubico-piv-tool \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /root/
COPY entrypoint.sh /usr/local/bin/
ENTRYPOINT [ "/usr/local/bin/entrypoint.sh" ]
CMD [ "yubico-piv-tool", "--help" ]