Add missing update of config-init dockerfile
[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 # Instal kubectl commands
14 RUN apt -y install curl
15 RUN curl -LO https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl
16 RUN chmod +x ./kubectl
17 RUN mv ./kubectl /usr/local/bin/kubectl
18
19 COPY onap-cfg.tar.gz /tmp/
20 RUN tar -zxvf /tmp/onap-cfg.tar.gz -C /opt/config/src/
21 COPY config-init.sh /root/config-init.sh
22 RUN chmod a+x /root/config-init.sh
23 ENTRYPOINT /root/config-init.sh