uc-debian-emojifont/Dockerfile

21 lines
410 B
Docker
Raw Normal View History

2024-07-21 00:25:13 +00:00
FROM debian
#RUN rm /bin/sh && ln -s /bin/bash /bin/sh
RUN apt update && apt install -y python3-pip python3-venv python3-dev\
git zopfli pkg-config \
libcairo2-dev imagemagick bash
WORKDIR /
COPY fontbuild.sh /
COPY run.sh /
RUN chmod +x fontbuild.sh
RUN chmod +x run.sh
RUN bash fontbuild.sh
# Should take 2-3 minutes to create noto-emoji/NotoColorEmoji.ttf
#RUN mv *.ttf /fonts
CMD ["/run.sh"]