aboutsummaryrefslogtreecommitdiffstats
path: root/security/docker/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'security/docker/Dockerfile')
-rw-r--r--security/docker/Dockerfile12
1 files changed, 7 insertions, 5 deletions
diff --git a/security/docker/Dockerfile b/security/docker/Dockerfile
index 9bfd2cc..3808865 100644
--- a/security/docker/Dockerfile
+++ b/security/docker/Dockerfile
@@ -19,8 +19,9 @@ RUN CGO_ENABLED=0 go install -a -ldflags '-w -s -extldflags "-static"'
FROM opnfv/xtesting:wallaby AS run
ARG KUBERNETES_VERSION="v1.19.11"
-ARG ONAP_TAG=master
-ARG ONAP_TESTS_TAG=master
+ARG ONAP_TAG=istanbul
+ARG ONAP_TESTS_TAG=istanbul
+ARG PIP_TAG=20.1
# Install kubectl
# Note: Latest version may be found on:
@@ -59,12 +60,13 @@ RUN set -x && \
chmod +x /usr/local/bin/sslendpoints && \
chmod +x /check_*.sh && \
rm -rf /usr/lib/python3.8/site-packages/PyYAML* && \
- pip3 install --upgrade pip && \
pip3 install --no-cache-dir \
- git+https://git.onap.org/integration/xtesting.git@$ONAP_TESTS_TAG#subdirectory=security && \
+ git+https://git.onap.org/integration/xtesting.git@$ONAP_TESTS_TAG#subdirectory=security \
+ pip==$PIP_TAG && \
cd /kube-hunter && pip3 install -r /kube-hunter/requirements.txt && \
pip3 install --no-cache-dir \
- git+https://gitlab.com/Orange-OpenSource/lfn/onap/integration/onap-version-status.git && \
+ git+https://gitlab.com/Orange-OpenSource/lfn/onap/integration/onap-version-status.git \
+ pip==$PIP_TAG && \
apk del .build-deps
COPY docker/testcases.yaml /usr/lib/python3.8/site-packages/xtesting/ci/testcases.yaml