From 6ac070de53b295035da1f78d3927baa655b3b874 Mon Sep 17 00:00:00 2001 From: Anthony Cicchetti Date: Mon, 3 Aug 2020 19:02:44 -0400 Subject: [PATCH] more updates --- Dockerfile | 5 ++++- build.sh | 4 ++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 33c59b9..722a238 100644 --- a/Dockerfile +++ b/Dockerfile @@ -27,7 +27,10 @@ COPY --from=builder /tmp/otfcc/bin/release-x64/otfccdump /usr/local/bin/otfccdum # NodeJS >= 12.16.0 RUN curl -sL https://deb.nodesource.com/setup_14.x | bash - -RUN apt-get install -y nodejs ttfautohint magic-wormhole zstd +RUN curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - +RUN echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list +RUN apt-get update +RUN apt-get install -y nodejs ttfautohint magic-wormhole zstd yarn WORKDIR / ADD ./private-build-plans.toml / diff --git a/build.sh b/build.sh index d62d2f0..ed59521 100755 --- a/build.sh +++ b/build.sh @@ -6,8 +6,8 @@ git clone --single-branch --depth=1 https://github.com/be5invis/Iosevka cp private-build-plans.toml ./Iosevka cd /Iosevka -npm i -npm run build -- ttf::iosevka-acicchetti +yarn install +yarn run build -- ttf::iosevka-acicchetti cd dist/iosevka-acicchetti/ttf/ tar cvf iosevka-acicchetti-$(date -I).tzst --zstd *.ttf