dockerfiles/libreoffice/Dockerfile
Jess Frazelle 3c0ec06020 fix alpine repo urls
Signed-off-by: Jess Frazelle <acidburn@github.com>
2018-11-29 16:49:49 -05:00

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 alpine:latest
LABEL maintainer "Jessie Frazelle <jess@linux.com>"
RUN apk --no-cache add \
--repository http://dl-cdn.alpinelinux.org/alpine/edge/testing \
libreoffice \
ttf-dejavu
ENTRYPOINT [ "libreoffice" ]