aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authormrichomme <morgan.richomme@orange.com>2020-12-02 10:28:03 +0100
committermrichomme <morgan.richomme@orange.com>2020-12-02 10:49:36 +0100
commit08f4245ffde29242f76dc0ca0c3d9718569d12a1 (patch)
tree797f4ca823c4971c26d3fb60dc33b992461e3ea7 /security
parent7392e6a77d48cf74c2cc58ec412ba7baf6dc8e4b (diff)
Remove useless helm client in security xtesting docker
helm client not needed by the security tests it will save some space the ligter, the better... Issue-ID: INT-1798 Signed-off-by: mrichomme <morgan.richomme@orange.com> Change-Id: Ia09ff4a1b2d405036985b014d678769461f3ffe1
Diffstat (limited to 'security')
-rw-r--r--security/docker/Dockerfile3
1 files changed, 0 insertions, 3 deletions
diff --git a/security/docker/Dockerfile b/security/docker/Dockerfile
index 413290d..bcdfebd 100644
--- a/security/docker/Dockerfile
+++ b/security/docker/Dockerfile
@@ -19,7 +19,6 @@ RUN CGO_ENABLED=0 go install -a -ldflags '-w -s -extldflags "-static"'
FROM opnfv/xtesting AS run
ARG KUBERNETES_VERSION="v1.15.2"
-ARG HELM_VERSION="v2.14.1"
ARG ONAP_TAG=master
ARG ONAP_TESTS_TAG=master
@@ -47,7 +46,6 @@ RUN set -x && \
git clone --depth 1 https://github.com/aquasecurity/kube-hunter.git /kube-hunter && \
mkdir /check_versions && \
adduser kubectl -Du 2342 -h /config && \
- wget https://storage.googleapis.com/kubernetes-helm/helm-${HELM_VERSION}-linux-amd64.tar.gz -O - | tar -xzO linux-amd64/helm > /usr/local/bin/helm && \
wget -O /check_for_nonssl_endpoints.sh https://git.onap.org/integration/plain/test/security/check_for_nonssl_endpoints.sh?h=$ONAP_TAG &&\
wget -O /check_for_jdwp.sh https://git.onap.org/integration/plain/test/security/check_for_jdwp.sh?h=$ONAP_TAG &&\
wget -O /jdwp_xfail.txt https://git.onap.org/integration/seccom/plain/waivers/jdwp_ports/jdwp_xfail.txt?h=$ONAP_TAG &&\
@@ -57,7 +55,6 @@ RUN set -x && \
wget -O /check_versions/k8s_bin_versions_inspector.py https://git.onap.org/integration/plain/test/security/check_versions/src/k8s_bin_versions_inspector.py?h=$ONAP_TAG &&\
wget -O /check_versions/requirements.txt https://git.onap.org/integration/plain/test/security/check_versions/env/requirements.txt?h=$ONAP_TAG &&\
wget -O /check_versions/recommended_versions.yaml https://git.onap.org/integration/seccom/plain/recommended_versions.yaml?h=$ONAP_TAG &&\
- chmod +x /usr/local/bin/helm && \
chmod +x /usr/local/bin/kube-bench && \
chmod +x /usr/local/bin/sslendpoints && \
chmod +x /check_*.sh && \