From dd1a17215f22d54c97b7c0d1ec44cb1da1b9408c Mon Sep 17 00:00:00 2001
From: Adar Nimrod <nimrod@shore.co.il>
Date: Sun, 24 Oct 2021 07:25:54 +0300
Subject: [PATCH] Use Cloudposse's repo for in the k8s image.

A lot of tools are packages there and saves a bit of a hassle.
---
 images/k8s/Dockerfile | 13 +++++--------
 1 file changed, 5 insertions(+), 8 deletions(-)

diff --git a/images/k8s/Dockerfile b/images/k8s/Dockerfile
index f2b45fc..660c80a 100644
--- a/images/k8s/Dockerfile
+++ b/images/k8s/Dockerfile
@@ -1,13 +1,10 @@
-FROM registry.hub.docker.com/library/golang:alpine3.14 as kind
-RUN GO111MODULE=on go get sigs.k8s.io/kind@v0.11.1
-
 FROM registry.hub.docker.com/library/alpine:3.14
-COPY --from=kind /go/bin/kind /usr/local/bin/
 # hadolint ignore=DL3018
-RUN apk add --update --no-cache --repository http://dl-cdn.alpinelinux.org/alpine/edge/testing/ \
-        helm \
-        kubectl \
-    && \
+RUN wget -q https://apk.cloudposse.com/ops@cloudposse.com.rsa.pub -O /etc/apk/keys/ops@cloudposse.com.rsa.pub && \
+    echo "https://apk.cloudposse.com/3.14/vendor" >> /etc/apk/repositories && \
     apk add --update --no-cache \
         docker-cli \
+        helm \
+        kind \
+        kubectl \
     ;
-- 
GitLab