aboutsummaryrefslogtreecommitdiffstats
path: root/docker/core/Dockerfile
AgeCommit message (Collapse)AuthorFilesLines
2021-04-20Install setuptools_scm before xrallystable/hunterCédric Ollivier1-0/+4
Else upper-constraints basically fails. Change-Id: I022f101e2ed44708afd0b88d47b77d2f7ca85458 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2021-02-13Fix CVE-2020-8231Cédric Ollivier1-1/+1
https://build.opnfv.org/ci/view/functest-kubernetes-trivy/job/functest-kubernetes-opnfv-functest-kubernetes-benchmarking-iruya-trivy/2/console Change-Id: I3dac33ee5d292374f28ee7394324f5e27cd0e318 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 29daddcc6e5b8efb2acf51dfa92b3dd82b69c83a)
2021-02-13Fix CVE-2020-8231Cédric Ollivier1-0/+1
https://build.opnfv.org/ci/view/functest-kubernetes-trivy/job/functest-kubernetes-opnfv-functest-kubernetes-benchmarking-hunter-trivy/1/console Change-Id: Icd687fbc1f99a1a741271179dc2289cc884f1bdf Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit c9efbc79d9c7b23a90a85303d9fc8007bbc2bb60)
2021-02-10Upgrade system firstCédric Ollivier1-1/+2
Change-Id: I0120e6a368b033f2fb47257ff9dcc3fd8a58d243 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 9ebe47c8458c99066fd71a65007fff923004d209)
2020-11-22Allow offline testing via xrally_kubernetesCédric Ollivier1-2/+4
It locally patches xrally_kubernetes before [1] is merged upstream. It adds docker.io/appropriate/curl:edge in download_images.sh too. [1] https://github.com/xrally/xrally-kubernetes/pull/51 Co-Authored-By: Tamas Lendvay <tamas.lendvay@nokia.com> Change-Id: I82ea2c777cd4d8f24c38dbf32d66081846e3e9af Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit ea2715240015a482c5321d309257d801a412f02d)
2020-08-16Compile K8s testing binariesCédric Ollivier1-1/+1
We can't leverage on official testing binaries for this old release. Change-Id: Ia4165a30739fe8220c90c6ff3f437350eb3ead66 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2020-08-16Leverage alpine rather than golangCédric Ollivier1-1/+1
golang is now useless as we stop compiling kubernetes binaries. Change-Id: I7b9416281de069d1f454b13eff6e9e6107f7471e Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 1af6a5dc4ec8e087613275e912c819ea1d0aecbc)
2020-07-07Publish debug logging configCédric Ollivier1-0/+1
Change-Id: I6a42fdeb20e0d549819c327e92e138c28dc927e1 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 7168abb7509750ece58fa501a56a8b1ebad2dbf8)
2020-07-06Apply Rally patch (switch to threading for tasks)Cédric Ollivier1-1/+3
Change-Id: I8f4df2d4c220edc538c743cccce8050efe4a1140 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit bfd0063c81f5d5d4fad2389832c8f1479a28f73d) (cherry picked from commit fbac166c0010ac15835ba37260b94e3c705e339d)
2020-07-06Try a quick fix vs the race conditions in xrallyCédric Ollivier1-0/+4
Change-Id: I57a4c317ba365586c10b13d425aac021dd030949 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 81139b1576981990f32df76719f179441e4d12ee) (cherry picked from commit 2a2744f1e612a1ed0a38cadd2b49100613da70d6)
2020-07-06Add a new testcase leveraging on xrally/kubernetesCédric Ollivier1-0/+3
It partially runs the all-in-one task for checking basic functionality of Kubernetes cluster. Change-Id: Iaf7a29d2c1a364073e4caaeef69d68ee79ea56bc Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 413b52a98a359094dbc251749c04d2789e0ab24c)
2020-07-01Add security docker for functest-kubernetesmrichomme1-2/+2
run kube-hunter and kube-bench cases dealing with security in kubernetes (check vulnerabilities) [1][2] It's the first step only printing the output. [1]: https://github.com/aquasecurity/kube-bench [2]: https://github.com/aquasecurity/kube-hunter Co-Authored-By: Cédric Ollivier <cedric.ollivier@orange.com> Change-Id: I3bd9bda80046ef7a0c494d51dfb0b8cbfea02bb0 Signed-off-by: mrichomme <morgan.richomme@orange.com> (cherry picked from commit 98d9f93337ab514fa9aafc1cd1e87473de68b364) (cherry picked from commit 0626f54b8686134515eab3b9014c5b538405d84f) (cherry picked from commit a7191389900b58f50e428af47e6819f30ba07d8f)
2020-06-08Remove cache dir and force /src as src dst dirCédric Ollivier1-1/+1
Change-Id: I43846aa04e9e9951fc55543b8d2d2fda7c39bb64 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 5169cd72511838af0cedd9ce6b5c3baba45d8f6c)
2019-11-16Add mailcap in dependenciesCédric Ollivier1-1/+1
It allows detecting mimetypes. Change-Id: Ieeae5e92142daab2ea724f1c332a71a8b0c63102 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit bee77a2c2c6571c622a8e533ed0b80cdb49302ea)
2019-04-21Update all OpenStack refs to opendev.orgCédric Ollivier1-1/+1
Change-Id: I829c7798d21abb013db09d80cc509862fa5b9e2d Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit cfcf5d41cbf26a7fc5d0b07d9ca45d73538036d8)
2019-03-29Only set go major version in parent containerCédric Ollivier1-1/+1
It allows updating automatically the minor versions. Change-Id: I25d3d315e533c1ba40f9eec36dc2eb9b81715eb2 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-03-28Fix OPNFV_TAG in docker/core/DockerfileCédric Ollivier1-1/+1
Change-Id: I51afc1b892220d66c696981cd6684944b95838c1 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-03-23Update to Apine 3.9Cédric Ollivier1-1/+1
It updates to the latest Alpine release [1] [1] https://www.alpinelinux.org/posts/Alpine-3.9.0-released.html Change-Id: I4afbc1d4830647f11509a02df5820ce7d33541ae Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 443b83ef45b4b58b46dcf0c4a7e50e9d379547ff)
2018-12-27Add build dependenciesCédric Ollivier1-1/+4
New OpenStack upper-constraints require build deps. Change-Id: Ib0318badfb13f528c20f4e01afdeaba36f442f9c Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 568b72f402f97c8c40336da84827ce1568c45fc1)
2018-10-19Precise go version in based imagesCédric Ollivier1-1/+1
Change-Id: Idd57e68f4b6363402afa96bded1b0b9f3754cb3e Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-10-18Switch to golang:alpine3.8 as based imageCédric Ollivier1-1/+1
It fixes all issues raised by the Alpine testing go package [1]. It conforms with Kubernetes which requires the latest go version. [1] https://build.opnfv.org/ci/job/functest-kubernetes-healthcheck-docker-build-amd64-master/45/console Change-Id: I388c843a21af9763703a40586ecf9b0b4583ebcb Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit e48f491529032b8dd009843976545febaddb0b7b)
2018-09-13Fix BRANCH in DockerfilesCédric Ollivier1-1/+1
Change-Id: I2da339262b48e4babc8aa4e17b75b95c2af04e93 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-09-13Prepare Functest K8s hunter containersCédric Ollivier1-1/+1
Change-Id: Ia53b029eb1137b7fffb51eeb6395d69f70d11f75 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-09-03Rewrite git clonesCédric Ollivier1-2/+4
Change-Id: I04c60b6c10ccd7b7e939002505e6e43e9c98eae7 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-09-02Update Kubernetes to v1.11.2Cédric Ollivier1-1/+1
Change-Id: If674867a7dc488c64fc3f0cda530560b5d306416 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-09-01Update to Alpine 3.8Cédric Ollivier1-1/+1
https://alpinelinux.org/posts/Alpine-3.8.0-released.html Change-Id: Ie9197f0cbc682d0c9a7cfee18b5ca6a27c466c89 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-09-01Avoid downloading git historyCédric Ollivier1-2/+2
It decreases build duration because of kubernetes history. Change-Id: I650c271e123b97e7350933b32d05b6b0781a79e9 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-08-17Add some build option in build.sh for supporting arm archJingzhao Ni1-1/+1
In build.sh, add some build options for arm arch. It also updates constraints to OpenStack Queens. Co-Authored-By: Cédric Ollivier <cedric.ollivier@orange.com> Change-Id: I3cc6c10e2e52c281e2324d8b42b721383be30c0b Signed-off-by: Jingzhao Ni <jingzhao.ni@arm.com> Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-04-07Split opnfv/functest-kubernetesCédric Ollivier1-0/+18
4 containers are now proposed - opnfv/functest-kubernetes-core - opnfv/functest-kubernetes-healthcheck - opnfv/functest-kubernetes-smoke - opnfv/functest-kubernetes-features Change-Id: I7d6f1edc7e9ace185b2cf991592ebc841f5520b7 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>