mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-30 13:28:30 +01:00
7eea00edf3
Signed-off-by: Michael Käufl <dockerfiles@c.michael-kaeufl.de>
24 lines
621 B
Docker
24 lines
621 B
Docker
# DESCRIPTION: Create evince container with its dependencies (https://wiki.gnome.org/Apps/Evince)
|
|
# AUTHOR: Christian Koep <christian.koep@fom-net.de>
|
|
# USAGE:
|
|
# # Build evince image
|
|
# docker build -t evince .
|
|
#
|
|
# # Run the container and mount your documents
|
|
# docker run -it \
|
|
# -v $HOME/documents/:/root/documents/ \
|
|
# -v /tmp/.X11-unix:/tmp/.X11-unix \
|
|
# -e DISPLAY=$DISPLAY \
|
|
# evince
|
|
#
|
|
|
|
FROM debian:stretch
|
|
LABEL maintainer "Christian Koep <christian.koep@fom-net.de>"
|
|
|
|
RUN apt-get -qq update && apt-get install -y \
|
|
evince \
|
|
--no-install-recommends \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
CMD ["/usr/bin/evince"]
|