blob: d6edcf9ffd0a97a060f8b1f567b6c287535a4104 [file] [log] [blame]
Jessica Frazelle8273a352015-10-10 21:34:29 -07001# Run pivman (yubikey-piv-manager) in a container
2#
3# docker run -d \
4# -v /etc/localtime:/etc/localtime:ro \
5# -v /tmp/.X11-unix:/tmp/.X11-unix \
6# -e DISPLAY=unix$DISPLAY \
7# --device /dev/bus/usb \
8# --device /dev/usb \
9# --name pivman \
10# jess/pivman
11#
Jess Frazelleb2bb3902016-09-06 10:54:16 -070012FROM ubuntu:16.04
Michael7eea00e2017-03-09 18:14:37 +000013LABEL maintainer "Jessie Frazelle <jess@linux.com>"
Jessica Frazelle8273a352015-10-10 21:34:29 -070014
15RUN apt-get update && apt-get install -y \
16 software-properties-common \
17 --no-install-recommends && \
18 add-apt-repository ppa:yubico/stable && \
19 apt-get update && \
20 apt-get install -y \
21 usbutils \
22 yubikey-piv-manager \
23 && rm -rf /var/lib/apt/lists/*
24
25ENTRYPOINT [ "pivman" ]