# 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 MAINTAINER Jessie Frazelle RUN apt-get update && apt-get install -y \ libreoffice \ --no-install-recommends \ && rm -rf /var/lib/apt/lists/* ENTRYPOINT [ "libreoffice" ]