converting config to helm and setting demo values
[oom.git] / kubernetes / config / docker / init / Dockerfile
1 from ubuntu:16.04
2
3 ENV no_proxy "localhost,127.0.0.1,.cluster.local,$KUBERNETES_SERVICE_HOST"
4 # Setup Corporate proxy
5 ENV https_proxy ${HTTPS_PROXY}
6 ENV http_proxy ${HTTP_PROXY}
7
8 # Additional packages
9 RUN apt-get update
10 RUN apt-get install -y openssl vim-common
11 RUN mkdir -p /opt/config/src/
12
13 COPY onap-cfg.tar.gz /tmp/
14 RUN tar -zxvf /tmp/onap-cfg.tar.gz -C /opt/config/src/
15 COPY config-init.sh /root/config-init.sh
16 RUN chmod a+x /root/config-init.sh
17 ENTRYPOINT /root/config-init.sh