add thumbsup in image

This commit is contained in:
Valvin 2019-01-22 13:35:17 +01:00
parent f748f51c17
commit 11859e5b92
1 changed files with 6 additions and 3 deletions

View File

@ -1,7 +1,10 @@
FROM alpine:edge FROM alpine:edge
RUN apk --no-cache add zip libressl python3 git \ RUN apk --no-cache add zip libressl python2 python3 git npm \
ghostscript-fonts fontconfig inkscape imagemagick ghostscript-fonts fontconfig inkscape imagemagick \
&& apk add --no-cache --virtual .build-deps alpine-sdk \
&& npm install -g --unsafe-perm thumbsup \
&& apk del .build-deps alpine-sdk
RUN wget https://www.peppercarrot.com/0_sources/0ther/tools/zip/peppercarrot-fonts-latest.zip \ RUN wget https://www.peppercarrot.com/0_sources/0ther/tools/zip/peppercarrot-fonts-latest.zip \
&& unzip -d /usr/share/fonts/ peppercarrot-fonts-latest.zip \ && unzip -d /usr/share/fonts/ peppercarrot-fonts-latest.zip \
&& fc-cache -f \ && fc-cache -f \
@ -10,5 +13,5 @@ RUN wget https://www.peppercarrot.com/0_sources/0ther/tools/zip/peppercarrot-fon
&& cd /home/carrot \ && cd /home/carrot \
&& wget -O renderfarm-lite.py https://framagit.org/peppercarrot/tools/raw/master/utils/renderfarm-lite.py?inline=false \ && 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 && chmod +x /home/carrot/renderfarm-lite.py
USER 1001 #USER 1001