1
0
mirror of https://github.com/jessfraz/dockerfiles.git synced 2025-04-22 11:52:47 +02:00

refactor evince to alpine

This commit is contained in:
Christian Koep 2017-04-07 15:56:05 +02:00
parent 3a19deb2da
commit d8560675f2
No known key found for this signature in database
GPG Key ID: 889970BE12955732

@ -1,10 +1,5 @@
# DESCRIPTION: Create evince container with its dependencies (https://wiki.gnome.org/Apps/Evince) # Evince in a container
# AUTHOR: Christian Koep <christiankoep@gmail.com>
# USAGE:
# # Build evince image
# docker build -t evince .
# #
# # Run the container and mount your documents
# docker run -it \ # docker run -it \
# -v $HOME/documents/:/root/documents/ \ # -v $HOME/documents/:/root/documents/ \
# -v /tmp/.X11-unix:/tmp/.X11-unix \ # -v /tmp/.X11-unix:/tmp/.X11-unix \
@ -12,12 +7,12 @@
# evince # evince
# #
FROM debian:stretch FROM alpine:latest
LABEL maintainer "Christian Koep <christiankoep@gmail.com>" LABEL maintainer "Christian Koep <christiankoep@gmail.com>"
RUN apt-get -qq update && apt-get install -y \ RUN apk --no-cache add \
--repository https://dl-3.alpinelinux.org/alpine/edge/testing \
evince \ evince \
--no-install-recommends \ ttf-opensans
&& rm -rf /var/lib/apt/lists/*
CMD ["/usr/bin/evince"] CMD ["/usr/bin/evince"]