mirror of
https://github.com/googlefonts/noto-emoji.git
synced 2026-08-14 05:21:45 +00:00
Python after 3.7 removes `tp_print` from `PyTypeObject`, preventing `pyclipper` 1.1.0.post1 from compiling.
20 lines
411 B
Docker
20 lines
411 B
Docker
FROM python:3.7
|
|
RUN apt update && apt install -y \
|
|
git \
|
|
zopfli \
|
|
libcairo2-dev
|
|
|
|
# Install nototools
|
|
RUN git clone https://github.com/googlefonts/nototools.git /nototools
|
|
WORKDIR /nototools
|
|
RUN pip install -r requirements.txt
|
|
RUN pip install -e .
|
|
|
|
# Create output dir
|
|
RUN mkdir /output
|
|
|
|
ADD . /blobmoji
|
|
WORKDIR /blobmoji
|
|
|
|
# Build blobmoji font
|
|
CMD make -j $(nproc) && cp NotoColorEmoji.ttf /output/
|