Commit

Author:

Hash:

Timestamp:

+3 -2 +/-1 browse

Kevin Schoon [me@kevinschoon.com]

9bf825979b92bd71ca880f05120d03f777ba7a0a

Wed, 17 Apr 2024 13:37:04 +0000 (1.2 years ago)

add fonts to base container for plotters.rs
1diff --git a/containers/base/Containerfile b/containers/base/Containerfile
2index e02d233..6a394f6 100644
3--- a/containers/base/Containerfile
4+++ b/containers/base/Containerfile
5 @@ -34,7 +34,7 @@ RUN npm install && scripts/compile_stylesheets.sh
6 FROM alpine:3.19.1
7
8 RUN apk add \
9- fontconfig git libgit2-dev sqlite \
10+ fontconfig font-misc-misc git libgit2-dev sqlite \
11 tree-sitter-grammars # all of the syntax highlighting available in alpine
12
13 COPY --from=build --chown=0:0 /home/builder/src/target/release/ayllu /usr/bin/
14 @@ -55,6 +55,7 @@ WORKDIR /home/ayllu
15 # git environment.
16 RUN \
17 git config --global --add user.name 'ayllu' && \
18- git config --global --add safe.directory '*'
19+ git config --global --add safe.directory '*' && \
20+ fc-cache -fv # update font cache which is required due to plotters.rs
21
22 CMD ["/usr/bin/ayllu", "serve"]