From fe1ba9e3b9881fafc004a750b7835f4c5a9e7b2e Mon Sep 17 00:00:00 2001 From: Kevin Kamani <89902063+kkamani@users.noreply.github.com> Date: Tue, 9 Jan 2024 16:11:54 +0100 Subject: [PATCH] feat: added Dockerfile and README for Helm-OC image --- helm-oc/Dockerfile | 7 ++++--- helm-oc/README.md | 6 +++--- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/helm-oc/Dockerfile b/helm-oc/Dockerfile index 30c5920..30f589f 100644 --- a/helm-oc/Dockerfile +++ b/helm-oc/Dockerfile @@ -1,7 +1,7 @@ FROM ubuntu:22.04 RUN apt-get update -RUN apt install curl -y +RUN apt-get install curl -y RUN curl -fsSL -o get_helm.sh https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 RUN chmod 700 get_helm.sh RUN ./get_helm.sh @@ -9,6 +9,7 @@ RUN rm -r get_helm.sh RUN curl -o openshift-cli-tar.gz https://mirror.openshift.com/pub/openshift-v4/x86_64/clients/ocp/4.10.58/openshift-client-linux.tar.gz RUN tar -zxvf openshift-cli-tar.gz RUN mv oc /usr/local/bin + RUN rm -r openshift-cli-tar.gz kubectl README.md -RUN apt remove curl -y --purge -RUN rm -rf /var/lib/apt/lists/* +RUN apt-get remove curl -y --purge +RUN apt-get clean && rm -rf /var/lib/apt/lists/* diff --git a/helm-oc/README.md b/helm-oc/README.md index 80f0c07..188ff43 100644 --- a/helm-oc/README.md +++ b/helm-oc/README.md @@ -4,9 +4,9 @@ This repository contains a Docker image based on the latest stable version of Ub ## Docker Image Details -- **Base Image**: Ubuntu (latest stable version) -- **Package Managers**: Helm, OpenShift CLI (oc) -- **Image Size**: The size of the image is kept minimal to reduce resource consumption. +- **Base Image**: Ubuntu (latest stable version) +- **Package Managers**: Helm, OpenShift CLI (oc) +- **Image Size**: The size of the image is kept minimal to reduce resource consumption. ## Included Tools