Commit
+4 -2 +/-1 browse
1 | diff --git a/Containerfile b/Containerfile |
2 | index 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 |