dockerfiles/inkscape/Dockerfile
Michael 7eea00edf3 Replaced deprecated MAINTAINER with LABEL (#242)
Signed-off-by: Michael Käufl <dockerfiles@c.michael-kaeufl.de>
2017-03-09 10:14:37 -08:00

27 lines
600 B
Docker

# Run inkscape in a container
#
# docker run -v /tmp/.X11-unix:/tmp/.X11-unix \
# -v /inkscape/:/workspace \
# -e DISPLAY=unix$DISPLAY \
# infoslack/inkscape
#
FROM ubuntu:16.04
LABEL maintainer "Daniel Romero <infoslack@gmail.com>"
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update && apt-get install -y \
python-software-properties \
software-properties-common
RUN add-apt-repository ppa:inkscape.dev/stable && \
apt-get update && apt-get install -y \
inkscape \
--no-install-recommends \
&& rm -rf /var/lib/apt/lists/*
VOLUME /workspace
WORKDIR /workspace
ENTRYPOINT [ "inkscape" ]