Skip to content

Commit

Permalink
test using gunzip
Browse files Browse the repository at this point in the history
  • Loading branch information
chicco785 committed Apr 12, 2024
1 parent 2c810aa commit 2e852f2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ FROM ubuntu:latest
ENV DEBIAN_FRONTEND=noninteractive

RUN apt-get update
RUN apt-get install -y fonts-ipafont graphviz wget openjdk-8-jre git curl unzip
RUN apt-get install -y fonts-ipafont graphviz wget openjdk-8-jre git curl gunzip imagemagick
RUN wget -P / --content-disposition https://sourceforge.net/projects/plantuml/files/plantuml.jar/download

COPY entrypoint.sh /entrypoint.sh
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ inputs:
enableReviewComment:
description: "whether post review comment or not"
required: false
default: false
default: "false"
installGoogleFont:
description: "Google Font family to be installed"
required: false
Expand Down
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ if [ -z "$INPUT_INSTALLGOOGLEFONT" ]; then
else
echo "Installing $INPUT_INSTALLGOOGLEFONT"
wget -O $INPUT_INSTALLGOOGLEFONT.zip https://fonts.google.com/download?family=$INPUT_INSTALLGOOGLEFONT
unzip -d $INPUT_INSTALLGOOGLEFONT/ $INPUT_INSTALLGOOGLEFONT.zip
gunzip -d $INPUT_INSTALLGOOGLEFONT/ $INPUT_INSTALLGOOGLEFONT.zip
mv $INPUT_INSTALLGOOGLEFONT /usr/share/fonts/
rm -rf $INPUT_INSTALLGOOGLEFONT.zip
fc-cache -fv
Expand Down

0 comments on commit 2e852f2

Please sign in to comment.