mirror of
https://github.com/atuinsh/atuin.git
synced 2024-11-22 00:03:49 +01:00
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:
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
|
||||||
|
Loading…
Reference in New Issue
Block a user