mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-30 05:18:11 +01:00
22 lines
491 B
Docker
22 lines
491 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 alpine:latest
|
|
LABEL maintainer "Jessie Frazelle <jess@linux.com>"
|
|
|
|
RUN apk --no-cache add \
|
|
--repository https://dl-3.alpinelinux.org/alpine/edge/testing \
|
|
libreoffice \
|
|
ttf-dejavu
|
|
|
|
ENTRYPOINT [ "libreoffice" ]
|