-
-
Save astellon/076038b6cfa0a7aebf63fa3d0997f4b5 to your computer and use it in GitHub Desktop.
Building container for https://github.com/be5invis/Iosevka
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM node:latest | |
RUN apt-get update | |
# ttfautohint | |
RUN apt-get install -y ttfautohint | |
# otfcc depends on premake5 | |
WORKDIR /tmp | |
RUN curl -sLo premake5.tar.gz https://github.com/premake/premake-core/releases/download/v5.0.0-alpha14/premake-5.0.0-alpha14-linux.tar.gz | |
RUN tar xf premake5.tar.gz && mv premake5 /usr/local/bin/premake5 && rm premake5.tar.gz | |
# otfcc | |
WORKDIR /tmp | |
RUN curl -sLo otfcc.tar.gz https://github.com/caryll/otfcc/archive/v0.10.3-alpha.tar.gz | |
RUN tar xf otfcc.tar.gz && mv otfcc-0.10.3-alpha otfcc | |
WORKDIR /tmp/otfcc | |
RUN premake5 gmake && cd build/gmake && make config=release_x64 | |
WORKDIR /tmp/otfcc/bin/release-x64 | |
RUN mv otfccbuild /usr/local/bin/otfccbuild | |
RUN mv otfccdump /usr/local/bin/otfccdump | |
WORKDIR /tmp | |
RUN rm -rf otfcc/ otfcc.tar.gz |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment