Commit
Author: Kevin Schoon [me@kevinschoon.com]
Hash: 8d04c12bc2d5ec8916aeb5b57998e0ca9119a03a
Timestamp: Sun, 22 Sep 2024 17:23:41 +0000 (3 months ago)

+4 -2 +/-1 browse
.
1diff --git a/Containerfile b/Containerfile
2index 6388596..654a494 100644
3--- a/Containerfile
4+++ b/Containerfile
5 @@ -1,12 +1,14 @@
6 FROM alpine:3 AS build
7
8- RUN apk add cargo rust
9+ RUN apk add build-base cargo cmake clang17 clang17-libs clang17-libclang rust
10+
11+ RUN cargo install --force --locked bindgen-cli
12
13 WORKDIR /src
14
15 COPY . /src
16
17- RUN cargo test && cargo build --release
18+ RUN export PATH="/root/.cargo/bin:$PATH" && cargo test && cargo build --release
19
20 FROM alpine:3
21