Skip to content

Commit

Permalink
fix: install fontforge on dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
kawaemon committed Sep 24, 2024
1 parent 38ec12d commit 1d499d1
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,13 @@ run cargo chef prepare --recipe-path recipe.json
from base as build
arg FEATURES="discord_client,mongo_db,plot_plotters_static"

run apt-get update \
&& apt-get install -y \
wget unzip clang \
cmake llvm nettle-dev \
pkg-config \
&& rm -rf /var/lib/apt/lists/*
run --mount=type=cache,target=/var/lib/apt,sharing=locked \
--mount=type=cache,target=/var/cache/apt,sharing=locked \
apt-get update \
&& apt-get install -y \
wget unzip clang \
cmake llvm nettle-dev \
pkg-config fontforge

copy --from=plan /src/download_font.sh .
run ./download_font.sh
Expand All @@ -46,6 +47,5 @@ run cargo build --release --no-default-features --features ${FEATURES}
from gcr.io/distroless/cc-debian11

copy --from=build /src/target/release/rusty-ponyo /
copy --from=build /src/OFL.txt /

cmd ["/rusty-ponyo"]

0 comments on commit 1d499d1

Please sign in to comment.