From eeb993cf2206ee86ba4bcad96c8c1a269a4a8242 Mon Sep 17 00:00:00 2001 From: Nils Freydank Date: Sun, 21 Jan 2024 16:14:56 +0100 Subject: [PATCH] Save 5 MB by copying everything :-) --- Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index af85012..32ce96e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,2 +1,5 @@ -FROM alpine:3.19 +FROM alpine:3.19 as setup RUN apk upgrade && apk add gcc musl-dev + +FROM scratch +COPY --from=setup / /