1
0
mirror of https://github.com/atuinsh/atuin.git synced 2025-07-04 08:30:29 +02:00

fix(docker): Update Dockerfile ()

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

@ -16,7 +16,7 @@ RUN cargo chef cook --release --recipe-path recipe.json
COPY . . COPY . .
RUN cargo build --release --bin atuin 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 RUN useradd -c 'atuin user' atuin && mkdir /config && chown atuin:atuin /config
# Install ca-certificates for webhooks to work # Install ca-certificates for webhooks to work