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 20:55:25 +02:00
|
|
|
# -v /inkscape/:/workspace \
|
|
|
|
# -e DISPLAY=unix$DISPLAY \
|
|
|
|
# infoslack/inkscape
|
2015-03-27 01:40:00 +01:00
|
|
|
#
|
2016-09-19 20:31:11 +02:00
|
|
|
FROM ubuntu:16.04
|
2017-03-09 19:14:37 +01:00
|
|
|
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 \
|
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-07 02:48:44 +02:00
|
|
|
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" ]
|