58b4151757c5c24fd15ce199b83435567443b324
[iec.git] / src / use_cases / seba_on_arm / patches / kubectl-deployer-docker / 0001-Add-arm64-support-for-kubectl-deployer-images-build.patch
1 From ea01e03a45227bb9aad77c454bb9c6c064522690 Mon Sep 17 00:00:00 2001
2 From: jialv01 <Jianlin.Lv@arm.com>
3 Date: Tue, 14 May 2019 17:37:53 +0800
4 Subject: [PATCH] Add arm64 support for kubectl-deployer images build
5
6 Signed-off-by: jialv01 <Jianlin.Lv@arm.com>
7 ---
8  Dockerfile | 6 ++----
9  1 file changed, 2 insertions(+), 4 deletions(-)
10
11 diff --git a/Dockerfile b/Dockerfile
12 index 117b386..88195c6 100644
13 --- a/Dockerfile
14 +++ b/Dockerfile
15 @@ -1,13 +1,11 @@
16  FROM alpine:3.6
17  
18 -LABEL MAINTAINER="Sergii Nuzhdin <ipaq.lw@gmail.com@gmail.com>"
19 -
20 -ENV KUBE_LATEST_VERSION="v1.13.0"
21 +ENV KUBE_LATEST_VERSION="v1.6.4"
22  
23  RUN apk add --update ca-certificates \
24      && apk add --update -t deps curl \
25      && apk add --update gettext \
26 -    && curl -L https://storage.googleapis.com/kubernetes-release/release/${KUBE_LATEST_VERSION}/bin/linux/amd64/kubectl -o /usr/local/bin/kubectl \
27 +    && curl -L https://storage.googleapis.com/kubernetes-release/release/${KUBE_LATEST_VERSION}/bin/linux/arm64/kubectl -o /usr/local/bin/kubectl \
28      && chmod +x /usr/local/bin/kubectl \
29      && apk del --purge deps \
30      && rm /var/cache/apk/*
31 -- 
32 2.17.1
33