mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-27 04:16:45 +01:00
7eea00edf3
Signed-off-by: Michael Käufl <dockerfiles@c.michael-kaeufl.de>
22 lines
492 B
Docker
22 lines
492 B
Docker
# Run Libreoffice in a container
|
|
|
|
# docker run -d \
|
|
# -v /etc/localtime:/etc/localtime:ro \
|
|
# -v /tmp/.X11-unix:/tmp/.X11-unix \
|
|
# -e DISPLAY=unix$DISPLAY \
|
|
# -v $HOME/slides:/root/slides \
|
|
# -e GDK_SCALE \
|
|
# -e GDK_DPI_SCALE \
|
|
# --name libreoffice \
|
|
# jess/libreoffice
|
|
#
|
|
FROM debian:stretch
|
|
LABEL maintainer "Jessie Frazelle <jess@linux.com>"
|
|
|
|
RUN apt-get update && apt-get install -y \
|
|
libreoffice \
|
|
--no-install-recommends \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
ENTRYPOINT [ "libreoffice" ]
|