fix: update Dockerfile to rust:slim-bookworm, install libelf-dev in CI

This commit is contained in:
Loki 2026-07-21 16:08:33 +02:00
parent 0aa521220e
commit 1dd8fd9f75
Signed by: boba
GPG key ID: 6CDE87BC9A778D97
2 changed files with 2 additions and 1 deletions

View file

@ -21,6 +21,7 @@ jobs:
with:
components: clippy, rustfmt
- uses: Swatinem/rust-cache@v2
- run: sudo apt-get update && sudo apt-get install -y libelf-dev
- run: cargo fmt --all --check
- run: cargo clippy --all-targets --all-features -- -D warnings
- run: cargo check --all-features

View file

@ -1,4 +1,4 @@
FROM rust:1.84-slim-bookworm AS builder
FROM rust:slim-bookworm AS builder
RUN apt-get update && apt-get install -y pkg-config libssl-dev && rm -rf /var/lib/apt/lists/*