Add Dockerfile for building within a container

This commit is contained in:
Maxr1998 2020-01-31 15:41:28 +01:00
parent 7feee66c57
commit 4dc4c3464c
No known key found for this signature in database
GPG key ID: 3BA0CD3A11CDF7B8
2 changed files with 22 additions and 0 deletions

5
.dockerignore Normal file
View file

@ -0,0 +1,5 @@
add_emoji_gsub.pyc
build
waveflag
.git/

17
Dockerfile Normal file
View file

@ -0,0 +1,17 @@
FROM python:buster
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 .
ADD . /blobmoji
WORKDIR /blobmoji
# Build blobmoji font
CMD make -j $(nproc)