File tree 1 file changed +7
-7
lines changed
1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -23,12 +23,13 @@ run cargo chef prepare --recipe-path recipe.json
23
23
from base as build
24
24
arg FEATURES="discord_client,mongo_db,plot_plotters_static"
25
25
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
32
33
33
34
copy --from=plan /src/download_font.sh .
34
35
run ./download_font.sh
@@ -46,6 +47,5 @@ run cargo build --release --no-default-features --features ${FEATURES}
46
47
from gcr.io/distroless/cc-debian11
47
48
48
49
copy --from=build /src/target/release/rusty-ponyo /
49
- copy --from=build /src/OFL.txt /
50
50
51
51
cmd ["/rusty-ponyo" ]
You can’t perform that action at this time.
0 commit comments