clean apt cache in Dockerfile (#932)
* clean apt cache in Dockerfile * Change /app to app, to be in sync with changes from mainline
This commit is contained in:
parent
4077c33adf
commit
3c649b5b3a
1 changed files with 2 additions and 1 deletions
|
@ -19,7 +19,8 @@ RUN cargo build --release --bin atuin
|
|||
FROM debian:bullseye-20230612-slim AS runtime
|
||||
|
||||
RUN useradd -c 'atuin user' atuin && mkdir /config && chown atuin:atuin /config
|
||||
RUN apt update && apt install ca-certificates -y # so that webhooks work
|
||||
# Install ca-certificates for webhooks to work
|
||||
RUN apt update && apt install ca-certificates -y && rm -rf /var/lib/apt/lists/*
|
||||
WORKDIR app
|
||||
|
||||
USER atuin
|
||||
|
|
Loading…
Reference in a new issue