dockerfiles/ykpersonalize/Dockerfile
Jess Frazelle cedd48dba0
change to jessie
Signed-off-by: Jess Frazelle <jess@mesosphere.com>
2016-05-02 12:57:07 -07:00

34 lines
704 B
Docker

# Run ykpersonalize in a container
#
# docker run --rm -it \
# --device /dev/bus/usb \
# --device /dev/usb
# --name ykpersonalize \
# jess/ykpersonalize
#
FROM ubuntu
MAINTAINER Jessica Frazelle <jess@docker.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 \
ca-certificates \
curl \
libjson0 \
libusb-1.0-0 \
libyubikey0 \
pcscd \
usbutils \
yubikey-personalization \
yubico-piv-tool \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /root/
COPY entrypoint.sh /usr/local/bin/
ENTRYPOINT [ "/usr/local/bin/entrypoint.sh" ]
CMD [ "ykpersonalize", "--help" ]