Skip to content

Commit

Permalink
fix(docker): Update Dockerfile (#2369)
Browse files Browse the repository at this point in the history
The runtime needs to use the same debian release as the build environment, otherwise this just crashes on startup
  • Loading branch information
cultpony authored Aug 27, 2024
1 parent 72a562a commit 00ef69f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 00ef69f

Please sign in to comment.