mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-30 05:18:11 +01:00
eddf0cb67c
Signed-off-by: Jessica Frazelle <princess@docker.com>
22 lines
485 B
Docker
22 lines
485 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:jessie
|
|
MAINTAINER Jessica Frazelle <jess@docker.com>
|
|
|
|
RUN apt-get update && apt-get install -y \
|
|
libreoffice \
|
|
--no-install-recommends \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
ENTRYPOINT [ "libreoffice" ]
|