Skip to content

Commit 65de013

Browse files
committed
feat!: add helm plugins
1 parent 5c1ccf2 commit 65de013

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

images/ci-helm/Dockerfile

+16-1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,21 @@ LABEL org.opencontainers.image.source="https://github.com/hoverkraft-tech/docker
55

66
# we can probably ignore warning about versions of such packages
77
# hadolint ignore=DL3018
8-
RUN apk add --no-cache jq yq curl openssl git
8+
RUN --mount=type=cache,target=/var/cache/apt \
9+
set -ex \
10+
apk add jq yq curl openssl git
911

1012
COPY scripts/ /usr/local/bin/
13+
14+
RUN \
15+
set ex; \
16+
addgroup -g 1000 helm && \
17+
adduser -u 1000 -G helm -s /bin/ash -D helm
18+
19+
USER helm:helm
20+
WORKDIR /home/helm
21+
22+
RUN --mount=type=cache,target=/home/.cache \
23+
set -ex; \
24+
helm plugin install https://github.com/jtyr/kubeconform-helm --version 0.1.17; \
25+
helm plugin install https://github.com/losisin/helm-values-schema-json.git --version 1.6.4;

0 commit comments

Comments
 (0)