Skip to content

Commit

Permalink
Remove alpine package manager aka distroless "für arme"
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperSandro2000 committed Nov 13, 2023
1 parent f4cbcf8 commit ce0a661
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion internal/dockerfile/docker.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,10 @@ RUN make -C /src install PREFIX=/pkg GOTOOLCHAIN=local%[3]s
FROM alpine:%[2]s
%[4]s# upgrade all installed packages to fix potential CVEs in advance
# also remove apk package manager to hopefully remove dependecy on openssl 🤞
RUN apk upgrade --no-cache --no-progress \
&& apk add --no-cache --no-progress%[5]s
&& apk add --no-cache --no-progress%[5]s \
&& apk del --no-cache --no-progress apk-tools alpine-keys
%[6]s
COPY --from=builder /pkg/ /usr/
Expand Down

0 comments on commit ce0a661

Please sign in to comment.