hereva-rendrerer/Dockerfile

15 lines
593 B
Docker

FROM alpine:edge
RUN apk --no-cache add zip libressl python3 git \
ghostscript-fonts fontconfig inkscape imagemagick
RUN wget https://www.peppercarrot.com/0_sources/0ther/tools/zip/peppercarrot-fonts-latest.zip \
&& unzip -d /usr/share/fonts/ peppercarrot-fonts-latest.zip \
&& fc-cache -f \
&& addgroup -g 1001 carrot \
&& adduser -G carrot -D -u 1001 carrot \
&& cd /home/carrot \
&& wget -O renderfarm-lite.py https://framagit.org/peppercarrot/tools/raw/master/utils/renderfarm-lite.py?inline=false \
&& chmod +x /home/carrot/renderfarm-lite.py
USER 1001