add ykman

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
This commit is contained in:
Jess Frazelle 2017-11-21 15:09:58 -05:00
parent 69f896f55f
commit 4b3f60992c
No known key found for this signature in database
GPG Key ID: 4466443FB55853EF

22
ykman/Dockerfile Normal file
View File

@ -0,0 +1,22 @@
# Run ykpersonalize in a container
#
# docker run --rm -it \
# --device /dev/bus/usb \
# --device /dev/usb
# --name ykpersonalize \
# jess/ykpersonalize
#
FROM ubuntu:16.04
LABEL 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 \
yubikey-manager \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /root/
CMD [ "ykman", "--help" ]