We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0cae73c commit dc35d9aCopy full SHA for dc35d9a
Dockerfile
@@ -9,6 +9,15 @@ RUN cargo chef prepare --recipe-path recipe.json
9
FROM chef AS builder
10
COPY --from=planner /tricked-bot/recipe.json recipe.json
11
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
+
21
# Cache cargo registry and build artifacts
22
RUN --mount=type=cache,target=/usr/local/cargo/registry \
23
--mount=type=cache,target=/tricked-bot/target \
0 commit comments