diff options
author | Alexis de Talhouët <adetalhouet89@gmail.com> | 2018-01-24 12:10:04 -0500 |
---|---|---|
committer | Alexis de Talhouët <alexis.de_talhouet@bell.ca> | 2018-01-24 17:10:40 +0000 |
commit | 9459a4cd3fb347168a2eafd8e3998f57775c55a3 (patch) | |
tree | e43c10d519c41589883e919bb4750ea806e4e583 /kubernetes/config/docker/init/Dockerfile | |
parent | a71a8bc53a03609fa79e5853e1ac38c09cd11778 (diff) |
Add missing update of config-init dockerfile
Change-Id: Ic7e6c7f381489de1ee47f6050b48afbd0434cc82
Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
Issue-ID: OOM-608
Diffstat (limited to 'kubernetes/config/docker/init/Dockerfile')
-rw-r--r-- | kubernetes/config/docker/init/Dockerfile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/kubernetes/config/docker/init/Dockerfile b/kubernetes/config/docker/init/Dockerfile index b6be90b247..103f3e4250 100644 --- a/kubernetes/config/docker/init/Dockerfile +++ b/kubernetes/config/docker/init/Dockerfile @@ -10,6 +10,12 @@ RUN apt-get update RUN apt-get install -y openssl vim-common RUN mkdir -p /opt/config/src/ +# Instal kubectl commands +RUN apt -y install curl +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 +RUN chmod +x ./kubectl +RUN mv ./kubectl /usr/local/bin/kubectl + COPY onap-cfg.tar.gz /tmp/ RUN tar -zxvf /tmp/onap-cfg.tar.gz -C /opt/config/src/ COPY config-init.sh /root/config-init.sh |