mirror of
https://github.com/googlefonts/noto-emoji.git
synced 2025-07-08 13:36:40 +00:00
New toolset for Docker
This commit is contained in:
parent
59de1c0feb
commit
6e05375407
1 changed files with 10 additions and 17 deletions
27
Dockerfile
27
Dockerfile
|
@ -1,20 +1,13 @@
|
||||||
FROM python:buster
|
FROM ghcr.io/c1710/emoji_builder
|
||||||
RUN apt update && apt install -y \
|
|
||||||
git \
|
|
||||||
zopfli \
|
|
||||||
libcairo2-dev
|
|
||||||
|
|
||||||
# Install nototools
|
COPY svg ./svg
|
||||||
RUN git clone https://github.com/googlefonts/nototools.git /nototools
|
COPY third_party/region-flags/svg ./flags
|
||||||
WORKDIR /nototools
|
COPY emoji_aliases.txt NotoColorEmoji.tmpl.ttx.tmpl Blobmoji.gpl ./
|
||||||
RUN pip install -r requirements.txt
|
COPY AUTHORS CONTRIBUTORS CHANGES.md LICENSE ./
|
||||||
RUN pip install -e .
|
|
||||||
|
|
||||||
# Create output dir
|
VOLUME /build
|
||||||
RUN mkdir /output
|
VOLUME /output
|
||||||
|
|
||||||
ADD . /blobmoji
|
CMD /github_workflow_setup.sh && \
|
||||||
WORKDIR /blobmoji
|
/bin/emoji_builder -vv -b /build -o Blobmoji.ttf -O /output --flags ./flags blobmoji -w -a ./emoji_aliases.txt --ttx-tmpl ./NotoColorEmoji.tmpl.ttx.tmpl --palette ./Blobmoji.gpl && \
|
||||||
|
mv /output/Blobmoji_win.ttf /output/BlobmojiWindows.ttf
|
||||||
# Build blobmoji font
|
|
||||||
CMD make -j $(nproc) && cp NotoColorEmoji.ttf /output/
|
|
Loading…
Add table
Reference in a new issue