Skip to content

Commit

Permalink
fix fonts
Browse files Browse the repository at this point in the history
  • Loading branch information
klahap committed Sep 11, 2024
1 parent 61435d9 commit f1aaafa
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.kotlin
.gradle
.idea
#build
build
Dockerfile
18 changes: 14 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,22 @@ FROM alpine:3.19
RUN apk upgrade --no-cache --available \
&& apk add --no-cache \
chromium-swiftshader \
openjdk21-jre \
ttf-freefont \
font-noto-emoji \
&& apk add --no-cache \
--repository=https://dl-cdn.alpinelinux.org/alpine/edge/community \
font-wqy-zenhei \
&& apk --no-cache add openjdk21-jre
fontconfig \
&& fc-cache -f

# additional fonts
# RUN apk add --no-cache \
# font-terminus \
# font-inconsolata \
# font-dejavu \
# font-awesome \
# font-noto \
# font-noto-cjk \
# font-noto-extra \
# && fc-cache -f

RUN mkdir -p /usr/src/app \
&& adduser -D chrome \
Expand Down

0 comments on commit f1aaafa

Please sign in to comment.