<gh_stars>1-10
# Run inkscape in a container
#
# docker run -v /tmp/.X11-unix:/tmp/.X11-unix \
#	-v /inkscape/:/workspace \
#	-e DISPLAY=unix$DISPLAY \
#	jess/inkscape
#
FROM ubuntu:20.04
#TODO Upgrade to 21.04 mongodb-org-server : Depends: libssl1.0.0 (>= 1.0.2~beta3) but it is not installable
LABEL maintainer "<NAME> <<EMAIL>>"

ENV TZ 'Afria/Nairobi'

ENV TZ ${TZ}

ENV DEBIAN_FRONTEND noninteractive

RUN apt-get update && apt-get install -y --no-install-recommends \
	python-software-properties \
	software-properties-common

RUN add-apt-repository ppa:inkscape.dev/stable && \
	apt-get update && apt-get install -y --no-install-recommends \
	inkscape \
	--no-install-recommends \
	&& rm -rf /var/lib/apt/lists/*

VOLUME /workspace
WORKDIR /workspace

ENTRYPOINT [ "inkscape" ]
