initial verify mostly works
This commit is contained in:
commit
bc1f656d6d
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
fontvol/
|
38
Dockerfile
Normal file
38
Dockerfile
Normal file
@ -0,0 +1,38 @@
|
||||
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 /
|
||||
#RUN git clone https://github.com/googlefonts/noto-emoji.git noto
|
||||
#WORKDIR noto
|
||||
#RUN git checkout v2018-01-02-flag-update svg/emoji_u1f52b.svg
|
||||
|
||||
#WORKDIR /
|
||||
#RUN git clone https://salsa.debian.org/fonts-team/fonts-noto-color-emoji.git debfont
|
||||
#WORKDIR debfont
|
||||
#RUN cp /noto/svg/emoji_u1f52b.svg svg/emoji_u1f52b.svg
|
||||
|
||||
#RUN rm -rf venv # in case you have an old borked venv!
|
||||
#RUN python3 -m venv venv
|
||||
#RUN source venv/bin/activate
|
||||
#RUN pip install -r requirements.txt
|
||||
#RUN python size_check.py
|
||||
#RUN rm -rf build/ && time make BYPASS_SEQUENCE_CHECK='True' -j 48
|
||||
|
||||
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"]
|
||||
|
6
README.md
Normal file
6
README.md
Normal file
@ -0,0 +1,6 @@
|
||||
mkdir fontvol
|
||||
|
||||
docker build -t emojis
|
||||
|
||||
docker run -v $PWD/fontvol:/fontvol emojis:latest
|
||||
|
23
fontbuild.sh
Executable file
23
fontbuild.sh
Executable file
@ -0,0 +1,23 @@
|
||||
#!/bin/bash
|
||||
cd /
|
||||
git clone https://github.com/googlefonts/noto-emoji.git noto
|
||||
cd noto
|
||||
git checkout v2018-01-02-flag-update
|
||||
|
||||
cd /
|
||||
git clone https://salsa.debian.org/fonts-team/fonts-noto-color-emoji.git debfont
|
||||
cd debfont
|
||||
cp /noto/svg/emoji_u1f52b.svg svg/emoji_u1f52b.svg
|
||||
cp /noto/png/128/emoji_u1f52b.png png/128/emoji_u1f52b.png
|
||||
|
||||
rm png/32/emoji_u1f52b.png
|
||||
rm png/72/emoji_u1f52b.png
|
||||
rm png/512/emoji_u1f52b.png
|
||||
|
||||
|
||||
rm -rf venv # in case you have an old borked venv!
|
||||
python3 -m venv venv
|
||||
source venv/bin/activate
|
||||
pip install -r requirements.txt
|
||||
python size_check.py
|
||||
rm -rf build/ && time make BYPASS_SEQUENCE_CHECK='True' -j 48
|
Loading…
x
Reference in New Issue
Block a user