Skip to content

Commit 0361c90

Browse files
committed
Remove unnecessary apks
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
1 parent f573316 commit 0361c90

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,13 @@ FROM alpine:3.23
4949
ARG BUILDDATE
5050
LABEL buildDate=$BUILDDATE
5151
RUN apk --no-cache upgrade && \
52-
apk add -U --no-cache ca-certificates jq bash && \
52+
apk add -U --no-cache ca-certificates-bundle jq bash && \
53+
apk del libcrypto3 libssl3 apk-tools zlib && \
5354
adduser -D -u 1000 -s /bin/bash klipper-helm
5455
WORKDIR /home/klipper-helm
5556
COPY --chown=1000:1000 --from=plugins /root/.local/share/helm/plugins/ /home/klipper-helm/.local/share/helm/plugins/
5657
COPY --from=extract /usr/bin/helm /usr/bin/entry /usr/bin/
5758
ENTRYPOINT ["entry"]
5859
ENV STABLE_REPO_URL=https://charts.helm.sh/stable/
5960
ENV TIMEOUT=
60-
USER 1000
61+
USER 1000

0 commit comments

Comments
 (0)