Add missing update of config-init dockerfile
[oom.git] / kubernetes / config / docker / init / Dockerfile
index b6be90b..103f3e4 100644 (file)
@@ -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