2019-01-09 07:11:48 +00:00
|
|
|
FROM alpine:edge
|
|
|
|
|
2019-01-30 21:13:31 +00:00
|
|
|
RUN apk --no-cache add zip libressl python2 python3 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 \
|
|
|
|
&& apk del .build-deps alpine-sdk
|
2019-01-09 07:11:48 +00:00
|
|
|
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
|
2019-02-05 21:16:42 +00:00
|
|
|
ADD ./theme-xyz /home/carrot/theme-xyz
|
|
|
|
USER 1001
|
2019-01-09 07:11:48 +00:00
|
|
|
|