feat(fonts): remove fonts from image
This commit is contained in:
parent
2a2a8ab46c
commit
09f0da1b8d
|
@ -1,6 +1,6 @@
|
|||
FROM alpine:edge
|
||||
|
||||
RUN apk --no-cache add zip libressl python2 python3 git npm jq curl \
|
||||
RUN apk --no-cache add zip libressl python2 python3 git npm jq curl rsync \
|
||||
ghostscript-fonts fontconfig inkscape imagemagick exiftool graphicsmagick \
|
||||
&& apk add --no-cache --virtual .build-deps alpine-sdk \
|
||||
&& npm install -g --unsafe-perm thumbsup \
|
||||
|
@ -9,11 +9,7 @@ RUN apk --no-cache add zip libressl python2 python3 git npm jq curl \
|
|||
RUN addgroup -g 1001 carrot \
|
||||
&& adduser -G carrot -D -u 1001 carrot \
|
||||
&& cd /home/carrot \
|
||||
&& wget https://www.peppercarrot.com/0_sources/0ther/tools/zip/peppercarrot-fonts-latest.zip \
|
||||
&& mkdir /home/carrot/.fonts && chown -R carrot: /home/carrot/.fonts \
|
||||
&& unzip -d /home/carrot/.fonts peppercarrot-fonts-latest.zip \
|
||||
&& mv /home/carrot/.fonts/fonts /home/carrot/.fonts/peppercarrot \
|
||||
&& su -l carrot -c "fc-cache -fv" \
|
||||
&& 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
|
||||
|
|
Loading…
Reference in New Issue