File tree Expand file tree Collapse file tree 3 files changed +3
-489
lines changed Expand file tree Collapse file tree 3 files changed +3
-489
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,5 @@ RUN apt-get install -y fonts-ipafont graphviz wget openjdk-8-jre git curl
7
7
RUN wget -P / --content-disposition https://sourceforge.net/projects/plantuml/files/plantuml.jar/download
8
8
9
9
COPY entrypoint.sh /entrypoint.sh
10
- COPY google-font-download /google-font-download
11
10
12
11
ENTRYPOINT ["/entrypoint.sh" ]
Original file line number Diff line number Diff line change @@ -17,7 +17,9 @@ if [ -z "$INPUT_INSTALLGOOGLEFONT" ]; then
17
17
echo " No font family defined"
18
18
else
19
19
echo " Installing $INPUT_INSTALLGOOGLEFONT "
20
- /google-font-download -f ttf --url=" https://fonts.google.com/?selection.family=$INPUT_INSTALLGOOGLEFONT "
20
+ wget https://raw.githubusercontent.com/neverpanic/google-font-download/master/google-font-download -O google-font-download
21
+ chmod +x google-font-download
22
+ ./google-font-download -f ttf --url=" https://fonts.google.com/?selection.family=$INPUT_INSTALLGOOGLEFONT "
21
23
mkdir /usr/share/fonts/googlefonts
22
24
mv * .ttf /usr/share/fonts/googlefonts
23
25
rm * .css
You can’t perform that action at this time.
0 commit comments