Image is now based on scratch

This commit is contained in:
Dominic Grimm 2023-05-18 10:55:26 +02:00
parent f113542b8d
commit 39bc9ad496
Signed by: dergrimm
GPG key ID: B6FFE500AAD54A3A

View file

@ -6,5 +6,5 @@ RUN wget -qO- https://github.com/tdewolff/minify/archive/refs/tags/v${VERSION}.t
WORKDIR /usr/src/minify-${VERSION}
RUN go install ./cmd/minify
FROM docker.io/alpine:3.18.0
FROM scratch
COPY --from=builder /go/bin/minify /usr/local/bin