From 3c649b5b3ac638e9596cdf0477bb9dff90872b62 Mon Sep 17 00:00:00 2001 From: Vlad Stepanov <8uk.8ak@gmail.com> Date: Sat, 17 Jun 2023 00:59:52 +0400 Subject: [PATCH] clean apt cache in Dockerfile (#932) * clean apt cache in Dockerfile * Change /app to app, to be in sync with changes from mainline --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 6431e65..5a77646 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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