summaryrefslogtreecommitdiffstats
path: root/k8s/centos.wagon-builder.dockerfile
diff options
context:
space:
mode:
authorJan Malkiewicz <jan.malkiewicz@nokia.com>2020-08-19 15:49:10 +0200
committerJan Malkiewicz <jan.malkiewicz@nokia.com>2020-08-28 09:00:24 +0200
commit92f74ae2a3506cea96635e922c0217dc1ef96bb9 (patch)
tree054b49c3216c5075d8e3ffb40b7c502157b67f64 /k8s/centos.wagon-builder.dockerfile
parent43f0c2c84a1d1c0e9dd49e41c748f56b5820760b (diff)
Add init container support for truststore merger.
Issue-ID: DCAEGEN2-2253 Signed-off-by: Jan Malkiewicz <jan.malkiewicz@nokia.com> Change-Id: I98f27834b36cad333728d41ec079b86a090e77f3
Diffstat (limited to 'k8s/centos.wagon-builder.dockerfile')
-rw-r--r--k8s/centos.wagon-builder.dockerfile16
1 files changed, 16 insertions, 0 deletions
diff --git a/k8s/centos.wagon-builder.dockerfile b/k8s/centos.wagon-builder.dockerfile
new file mode 100644
index 0000000..401c1a5
--- /dev/null
+++ b/k8s/centos.wagon-builder.dockerfile
@@ -0,0 +1,16 @@
+FROM centos/python-27-centos7:latest as cent
+
+# Sometimes it's necessary to set a proxy (e.g. in case of local development).
+# To do it just uncomment those two env variables and set appriopriate values for them.
+#ENV HTTP_PROXY=
+#ENV HTTPS_PROXY=
+
+RUN bash -c "pip install --upgrade pip"
+RUN bash -c "pip install wagon"
+
+COPY / k8s/
+
+USER root
+RUN bash -c "wagon create -r k8s/requirements.txt k8s/"
+RUN bash -c "mkdir output"
+RUN bash -c "mv k8splugin*.wgn output/"