From 7d0242cce0de141a1f2ea5df66f888d67f736d94 Mon Sep 17 00:00:00 2001 From: Robert Choi Date: Mon, 23 May 2022 11:24:33 +0900 Subject: [PATCH] add Dockerfiles for workflows --- .../Dockerfile.aws_kubectl | 0 dockerfiles/Dockerfile.sonobuoy-worker | 13 +++++++++++++ tks-cluster/{ => secrets}/secret-github.yaml | 0 3 files changed, 13 insertions(+) rename tks-cluster/aws_kubectl.Dockerfile => dockerfiles/Dockerfile.aws_kubectl (100%) mode change 100755 => 100644 create mode 100644 dockerfiles/Dockerfile.sonobuoy-worker rename tks-cluster/{ => secrets}/secret-github.yaml (100%) diff --git a/tks-cluster/aws_kubectl.Dockerfile b/dockerfiles/Dockerfile.aws_kubectl old mode 100755 new mode 100644 similarity index 100% rename from tks-cluster/aws_kubectl.Dockerfile rename to dockerfiles/Dockerfile.aws_kubectl diff --git a/dockerfiles/Dockerfile.sonobuoy-worker b/dockerfiles/Dockerfile.sonobuoy-worker new file mode 100644 index 00000000..c9e197d2 --- /dev/null +++ b/dockerfiles/Dockerfile.sonobuoy-worker @@ -0,0 +1,13 @@ +FROM centos:centos7 + +MAINTAINER Cloud Co, SK Telecom + +USER root +RUN curl -sSLo sonobuoy.tar.gz https://github.com/vmware-tanzu/sonobuoy/releases/download/v0.56.6/sonobuoy_0.56.6_linux_amd64.tar.gz +RUN tar -xzf ./sonobuoy.tar.gz +RUN chmod +x ./sonobuoy && cp sonobuoy /usr/bin/ && rm -rf ./sonobuoy* + +RUN curl -Lo /usr/bin/kubectl "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl" +RUN chmod +x /usr/bin/kubectl + +CMD ["bash"] diff --git a/tks-cluster/secret-github.yaml b/tks-cluster/secrets/secret-github.yaml similarity index 100% rename from tks-cluster/secret-github.yaml rename to tks-cluster/secrets/secret-github.yaml