Skip to content

Commit 1d499d1

Browse files
committed
fix: install fontforge on dockerfile
1 parent 38ec12d commit 1d499d1

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

Dockerfile

+7-7
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,13 @@ run cargo chef prepare --recipe-path recipe.json
2323
from base as build
2424
arg FEATURES="discord_client,mongo_db,plot_plotters_static"
2525

26-
run apt-get update \
27-
&& apt-get install -y \
28-
wget unzip clang \
29-
cmake llvm nettle-dev \
30-
pkg-config \
31-
&& rm -rf /var/lib/apt/lists/*
26+
run --mount=type=cache,target=/var/lib/apt,sharing=locked \
27+
--mount=type=cache,target=/var/cache/apt,sharing=locked \
28+
apt-get update \
29+
&& apt-get install -y \
30+
wget unzip clang \
31+
cmake llvm nettle-dev \
32+
pkg-config fontforge
3233

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

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

5151
cmd ["/rusty-ponyo"]

0 commit comments

Comments
 (0)