fix(docker): Update Dockerfile (#2369)

The runtime needs to use the same debian release as the build environment, otherwise this just crashes on startup
This commit is contained in:
CULT PONY 2024-08-27 16:14:25 +02:00 committed by GitHub
parent 72a562a38e
commit 00ef69f2a4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -16,7 +16,7 @@ RUN cargo chef cook --release --recipe-path recipe.json
COPY . .
RUN cargo build --release --bin atuin
FROM debian:bullseye-20240722-slim AS runtime
FROM debian:bookworm-20240812-slim AS runtime
RUN useradd -c 'atuin user' atuin && mkdir /config && chown atuin:atuin /config
# Install ca-certificates for webhooks to work