summaryrefslogtreecommitdiffstats
path: root/multisite-init-container/Dockerfile
diff options
context:
space:
mode:
authorJack Lucas <jflucas@research.att.com>2019-03-29 16:45:20 -0400
committerJack Lucas <jflucas@research.att.com>2019-04-01 18:53:56 -0400
commitf4a008369e54f6ac33e53040762f800e055a0675 (patch)
treee9c7802ba72153430d7a1c4a97c664c889f3f5a6 /multisite-init-container/Dockerfile
parent5d9b841b815dd7a6b4f0e06b2da0074a9d268530 (diff)
Set up kubeconfig ConfigMap
Add container to update configMap with info for central cluster. Update Cloudify Manager version. Issue-ID: DCAEGEN2-1136 Issue-ID: DCAEGEN2-1376 Change-Id: I593703b25c2ec9c8fde6ca10c9fc70255c6719a5 Signed-off-by: Jack Lucas <jflucas@research.att.com>
Diffstat (limited to 'multisite-init-container/Dockerfile')
-rw-r--r--multisite-init-container/Dockerfile22
1 files changed, 22 insertions, 0 deletions
diff --git a/multisite-init-container/Dockerfile b/multisite-init-container/Dockerfile
new file mode 100644
index 0000000..9052b92
--- /dev/null
+++ b/multisite-init-container/Dockerfile
@@ -0,0 +1,22 @@
+# ================================================================================
+# Copyright (c) 2019 AT&T Intellectual Property. All rights reserved.
+# ================================================================================
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# ============LICENSE_END=========================================================
+#
+FROM python:3-alpine
+RUN mkdir /opt/onap
+RUN pip install kubernetes
+COPY buildconf.py /opt/onap
+WORKDIR /opt/onap
+ENTRYPOINT ["python3", "/opt/onap/buildconf.py"] \ No newline at end of file