Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 1 | from ubuntu:16.04 |
| 2 | |
Mandeep Khinda | dc2dc86 | 2017-09-08 05:20:30 +0000 | [diff] [blame] | 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 |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 11 | RUN mkdir -p /opt/config/src/ |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 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 |