mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-30 13:28:30 +01:00
26 lines
601 B
Docker
26 lines
601 B
Docker
|
# Run neoman (yubikey-piv-manager) in a container
|
||
|
#
|
||
|
# docker run -d \
|
||
|
# -v /etc/localtime:/etc/localtime:ro \
|
||
|
# -v /tmp/.X11-unix:/tmp/.X11-unix \
|
||
|
# -e DISPLAY=unix$DISPLAY \
|
||
|
# --device /dev/bus/usb \
|
||
|
# --device /dev/usb \
|
||
|
# --name neoman \
|
||
|
# jess/neoman
|
||
|
#
|
||
|
FROM ubuntu:14.04
|
||
|
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 \
|
||
|
usbutils \
|
||
|
yubikey-neo-manager \
|
||
|
&& rm -rf /var/lib/apt/lists/*
|
||
|
|
||
|
ENTRYPOINT [ "neoman" ]
|