2022-03-31 05:52:41 +00:00
|
|
|
FROM alpine:3.14
|
2022-11-28 21:14:25 +00:00
|
|
|
ENV RENDERLITE_URL https://framagit.org/peppercarrot/tools/raw/master/utils/renderfarm-lite.py?inline=false
|
2020-07-23 19:10:32 +00:00
|
|
|
RUN apk --no-cache add zip libressl python2 python3 py-pip git npm jq curl \
|
2019-01-22 15:39:11 +00:00
|
|
|
ghostscript-fonts fontconfig inkscape imagemagick exiftool graphicsmagick \
|
2019-01-22 12:35:17 +00:00
|
|
|
&& apk add --no-cache --virtual .build-deps alpine-sdk \
|
|
|
|
&& npm install -g --unsafe-perm thumbsup \
|
2019-04-22 14:30:39 +00:00
|
|
|
&& apk del .build-deps alpine-sdk \
|
|
|
|
&& python3 -m pip install requests
|
2019-07-20 19:53:03 +00:00
|
|
|
RUN addgroup -g 1001 carrot \
|
2019-01-09 07:11:48 +00:00
|
|
|
&& adduser -G carrot -D -u 1001 carrot \
|
|
|
|
&& cd /home/carrot \
|
2019-07-20 19:53:03 +00:00
|
|
|
&& mkdir /home/carrot/.fonts && chown -R carrot: /home/carrot/.fonts \
|
2022-11-28 21:14:25 +00:00
|
|
|
&& wget -O renderfarm-lite.py ${RENDERLITE_URL} \
|
2019-01-09 07:11:48 +00:00
|
|
|
&& chmod +x /home/carrot/renderfarm-lite.py
|
2019-02-05 21:16:42 +00:00
|
|
|
USER 1001
|
2019-01-09 07:11:48 +00:00
|
|
|
|