Skip to content

Commit

Permalink
Merge pull request #138 from alps-asd/fix-svg-layout
Browse files Browse the repository at this point in the history
Fixed an issue where the display centering would be wrong due to un-installed fonts
  • Loading branch information
koriym authored Nov 26, 2021
2 parents 2dd2199 + a23a471 commit bc3ffd2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions docker/app-state-diagram/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ FROM php:alpine
COPY --from=composer /usr/bin/composer /usr/bin/composer

RUN apk --no-cache upgrade \
&& apk --no-cache add ttf-linux-libertine \
&& fc-cache -f \
&& apk --no-cache add graphviz nodejs npm

RUN COMPOSER_ALLOW_SUPERUSER=1 composer global require koriym/app-state-diagram \
Expand Down
3 changes: 2 additions & 1 deletion docker/asd-action/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ FROM php:alpine
COPY --from=composer /usr/bin/composer /usr/bin/composer

RUN apk upgrade --no-cache \
&& apk add --no-cache graphviz \
&& apk add --no-cache graphviz ttf-linux-libertine \
&& fc-cache -f \
&& COMPOSER_ALLOW_SUPERUSER=1 composer require koriym/app-state-diagram

COPY entrypoint.sh /entrypoint.sh
Expand Down

0 comments on commit bc3ffd2

Please sign in to comment.