Skip to content

Open source, privacy-first web analytics. Lightweight, cookie-free Google Analytics alternative. Self-hosted or cloud.

Prevent leaving apk cache in Docker image (#1440)

Peter Dave Hellod272cd80d5e7
diff --git a/Dockerfile b/Dockerfile
index d76c0b1e09..39624571a6 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -53,7 +53,7 @@ FROM alpine:3.13.3
LABEL maintainer="tckb <[email protected]>"
ENV LANG=C.UTF-8
-RUN apk update && apk upgrade
+RUN apk upgrade --no-cache
RUN apk add --no-cache openssl ncurses libstdc++ libgcc