mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2025-02-01 18:02:42 +01:00
23 lines
508 B
Docker
23 lines
508 B
Docker
|
# 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" ]
|