dockerfiles/inkscape/Dockerfile

27 lines
595 B
Docker
Raw Normal View History

2015-03-27 01:40:00 +01:00
# Run inkscape in a container
#
# docker run -v /tmp/.X11-unix:/tmp/.X11-unix \
# -v /inkscape/:/workspace \
# -e DISPLAY=unix$DISPLAY \
# jess/inkscape
2015-03-27 01:40:00 +01:00
#
FROM ubuntu:16.04
LABEL maintainer "Daniel Romero <infoslack@gmail.com>"
2015-03-27 01:40:00 +01:00
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update && apt-get install -y \
python-software-properties \
software-properties-common
2015-03-27 01:40:00 +01:00
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/*
2015-03-27 01:40:00 +01:00
VOLUME /workspace
WORKDIR /workspace
ENTRYPOINT [ "inkscape" ]