-
-
Notifications
You must be signed in to change notification settings - Fork 128
/
ubuntu.Dockerfile
18 lines (14 loc) · 886 Bytes
/
ubuntu.Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
FROM ubuntu:22.04
ARG VERSION_HELM=3.11.0
ARG VERSION_SOPS=3.8.1
ARG VERSION_VALS=0.37.1
RUN apt-get update -qq && apt-get install -yqq git curl gnupg2 ruby \
&& curl -sSfL https://github.com/getsops/sops/releases/download/v${VERSION_SOPS}/sops-v${VERSION_SOPS}.linux -o /usr/local/bin/sops \
&& chmod +x /usr/local/bin/sops \
&& curl -sSfL https://get.helm.sh/helm-v${VERSION_HELM}-linux-amd64.tar.gz | tar xzf - --strip-component 1 -C /usr/local/bin/ --wildcards '*/helm' \
&& curl -sSfL https://github.com/variantdev/vals/releases/download/v${VERSION_VALS}/vals_${VERSION_VALS}_linux_amd64.tar.gz | tar xzf - -C /usr/local/bin/ vals \
&& gem install bashcov simplecov-cobertura
ENV BATSLIB_TEMP_PRESERVE="0" BATSLIB_TEMP_PRESERVE_ON_FAILURE="0"
WORKDIR /helm-secrets/
ENTRYPOINT ["/helm-secrets/tests/bats/core/bin/bats"]
CMD [ "tests/unit/helm-plugin.bats"]