Skip to content

Commit

Permalink
Update lading container base image (#1160)
Browse files Browse the repository at this point in the history
### What does this PR do?

This commit updates the lading base OS from Debian bullseye to the
latest stable bookworm.
  • Loading branch information
blt authored Dec 17, 2024
1 parent 6acfcdb commit 14c4c66
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## Changed
- The `bytes_received` metric in the HTTP blackhole now tracks wire bytes, the
former metric is preserved with `decoded_bytes_received`.
- Base image is now bookworm, updated from bullseye.

## [0.25.1]
## Removed
Expand Down
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Update the rust version in-sync with the version in rust-toolchain.toml
FROM docker.io/rust:1.81.0-bullseye AS builder
FROM docker.io/rust:1.81.0-bookworm AS builder

RUN apt-get update && apt-get install -y \
protobuf-compiler fuse3 libfuse3-dev \
Expand All @@ -9,8 +9,8 @@ WORKDIR /app
COPY . /app
RUN cargo build --release --locked --bin lading --features logrotate_fs

FROM docker.io/debian:bullseye-20240701-slim
RUN apt-get update && apt-get install -y libfuse3-dev=3.10.3-2 fuse3=3.10.3-2 && rm -rf /var/lib/apt/lists/*
FROM docker.io/debian:bookworm-20241202-slim
RUN apt-get update && apt-get install -y libfuse3-dev=3.14.0-4 fuse3=3.14.0-4 && rm -rf /var/lib/apt/lists/*
COPY --from=builder /app/target/release/lading /usr/bin/lading

# smoke test
Expand Down

0 comments on commit 14c4c66

Please sign in to comment.