2015-03-27 01:40:00 +01:00
|
|
|
# Run inkscape in a container
|
|
|
|
#
|
|
|
|
# docker run -v /tmp/.X11-unix:/tmp/.X11-unix \
|
2015-06-05 19:24:11 +02:00
|
|
|
# -v /inkscape/:/workspace \
|
|
|
|
# -e DISPLAY=unix$DISPLAY \
|
|
|
|
# infoslack/inkscape
|
2015-03-27 01:40:00 +01:00
|
|
|
#
|
|
|
|
FROM ubuntu:14.04
|
|
|
|
MAINTAINER Daniel Romero <infoslack@gmail.com>
|
|
|
|
|
|
|
|
ENV DEBIAN_FRONTEND noninteractive
|
|
|
|
|
|
|
|
RUN apt-get update && apt-get install -y \
|
2015-06-05 19:24:11 +02:00
|
|
|
python-software-properties \
|
|
|
|
software-properties-common
|
2015-03-27 01:40:00 +01:00
|
|
|
|
|
|
|
RUN add-apt-repository ppa:inkscape.dev/stable && \
|
2015-06-05 19:24:11 +02:00
|
|
|
apt-get update && \
|
|
|
|
apt-get install -y -qq --no-install-recommends inkscape && \
|
|
|
|
rm -rf /var/lib/apt/lists/*
|
2015-03-27 01:40:00 +01:00
|
|
|
|
|
|
|
VOLUME /workspace
|
|
|
|
WORKDIR /workspace
|
|
|
|
|
|
|
|
ENTRYPOINT [ "inkscape" ]
|