Skip to content

Commit e7874e4

Browse files
authored
Install typescript and fontcustom
1 parent fdf183f commit e7874e4

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

Dockerfile

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,24 @@
11
FROM deis/go-dev
22

3-
# Ruby
43
RUN apt-get update
4+
5+
# Ruby
56
RUN apt-get install hugo ruby ruby-dev curl apt-utils -y
67
RUN gem install sass --no-user-install
78

89
# Node.JS
910
RUN curl -sL https://deb.nodesource.com/setup_6.x | bash
1011
RUN apt-get install nodejs -y
1112

13+
# Typescript
14+
RUN npm install -g typescript
15+
16+
# Fontcustom
17+
RUN apt-get install zlib1g-dev fontforge -y
18+
RUN git clone https://github.com/bramstein/sfnt2woff-zopfli.git sfnt2woff-zopfli && cd sfnt2woff-zopfli && make && mv sfnt2woff-zopfli /usr/local/bin/sfnt2woff
19+
RUN git clone --recursive https://github.com/google/woff2.git && cd woff2 && make clean all && mv woff2_compress /usr/local/bin/ && mv woff2_decompress /usr/local/bin/
20+
RUN gem install --no-document fontcustom
21+
1222
# Set up the workspace
1323
RUN mkdir -p /kowala
1424
WORKDIR /kowala/kowala.tech

0 commit comments

Comments
 (0)