Skip to content

Commit dc35d9a

Browse files
committed
yes
1 parent 0cae73c commit dc35d9a

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

Dockerfile

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,15 @@ RUN cargo chef prepare --recipe-path recipe.json
99
FROM chef AS builder
1010
COPY --from=planner /tricked-bot/recipe.json recipe.json
1111

12+
# Install build dependencies
13+
RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
14+
--mount=type=cache,target=/var/lib/apt,sharing=locked \
15+
apt-get update && \
16+
apt-get install -y --no-install-recommends \
17+
pkg-config \
18+
libssl-dev \
19+
zlib1g-dev
20+
1221
# Cache cargo registry and build artifacts
1322
RUN --mount=type=cache,target=/usr/local/cargo/registry \
1423
--mount=type=cache,target=/tricked-bot/target \

0 commit comments

Comments
 (0)