From 52d17aa27f46a12fcb0834b5b91ff1fd9b4b7f4c Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Sat, 12 Sep 2020 16:26:41 +0200 Subject: [PATCH] Replace Iosevka sbruder with Iosevka Nerd Font --- Dockerfile | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index 092533a..84a8c3c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,3 +1,11 @@ +FROM alpine as fonts + +RUN wget https://github.com/ryanoasis/nerd-fonts/releases/download/v2.1.0/Iosevka.zip \ + && mkdir iosevka \ + && unzip -d iosevka Iosevka.zip \ + && rm Iosevka.zip iosevka/Iosevka\ Term\ * \ + && chown -R 1000:1000 iosevka + FROM debian:testing RUN echo 'deb http://ftp-stud.hs-esslingen.de/pub/Mirrors/debian-multimedia/ testing main' > /etc/apt/sources.list.d/deb-multimedia.list \ @@ -138,9 +146,4 @@ RUN pip3 install -t /usr/local/lib/vapoursynth-scripts/ --no-cache-dir \ RUN adduser --disabled-password --gecos '' vapoursynth USER vapoursynth -RUN mkdir /home/vapoursynth/.fonts/ \ - && wget -nv -P /home/vapoursynth/.fonts/ \ - https://s3.sbruder.de/cdn/fonts/Iosevka/iosevka-sbruder/ttf/iosevka-sbruder-bold.ttf \ - https://s3.sbruder.de/cdn/fonts/Iosevka/iosevka-sbruder/ttf/iosevka-sbruder-bolditalic.ttf \ - https://s3.sbruder.de/cdn/fonts/Iosevka/iosevka-sbruder/ttf/iosevka-sbruder-italic.ttf \ - https://s3.sbruder.de/cdn/fonts/Iosevka/iosevka-sbruder/ttf/iosevka-sbruder-regular.ttf +COPY --from=fonts /iosevka /home/vapoursynth/.fonts