From 7857349856c975987b9400ede62570431ac476f0 Mon Sep 17 00:00:00 2001 From: called_D Date: Fri, 9 Jul 2021 23:07:36 +0900 Subject: [PATCH] add: Dockerfile --- Dockerfile | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..236f661 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,18 @@ +FROM ubuntu:18.04 +RUN apt update && apt install -y gnupg2 && \ + apt-key adv --keyserver keyserver.ubuntu.com --recv AAE3CE82DA9BD4518ED53FC220221AFD63E0C3B9 && \ + { \ + echo "deb http://ppa.launchpad.net/fontforge/fontforge/ubuntu bionic main"; \ + echo "deb-src http://ppa.launchpad.net/fontforge/fontforge/ubuntu bionic main"; \ + } > /etc/apt/sources.list.d/fontforge.list && \ + apt update && \ + apt install -y --no-install-recommends \ + fontforge \ + python-pip \ + ttfautohint \ + && \ + pip2 install \ + fonttools \ + && \ + apt clean && \ + rm -rf /var/lib/apt/lists/*