From 7320c5091d549457d1cb77e10785cd9ddbfd91be Mon Sep 17 00:00:00 2001 From: Kevin Kamani Date: Wed, 10 Jan 2024 14:11:30 +0100 Subject: [PATCH] fix: linting --- helm-oc/Dockerfile | 5 +++-- helm-oc/README.md | 12 +++++------- 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/helm-oc/Dockerfile b/helm-oc/Dockerfile index 30f589f..bdef9a8 100644 --- a/helm-oc/Dockerfile +++ b/helm-oc/Dockerfile @@ -1,7 +1,8 @@ FROM ubuntu:22.04 -RUN apt-get update -RUN apt-get install curl -y +RUN apt-get update && apt-get install curl=7.81.0-1ubuntu1.15 -y --no-install-recommend \ + && apt-get clean \ + && rm -rf /var/lib/apt/lists/* 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 diff --git a/helm-oc/README.md b/helm-oc/README.md index 188ff43..0a7536e 100644 --- a/helm-oc/README.md +++ b/helm-oc/README.md @@ -1,13 +1,12 @@ # Helm-oc Docker Image -This repository contains a Docker image based on the latest stable version of Ubuntu, designed to provide an environment with Helm, OpenShift CLI (oc), and OpenShift Client tools installed. This image is useful for users who need a lightweight containerized environment for managing Kubernetes clusters, deploying applications using Helm, and interacting with OpenShift-specific resources. +This repository contains a Docker image based on the latest stable version of Ubuntu, designed to provide an environment with Helm, OpenShift CLI (oc), and OpenShift Client tools installed. This image is useful for users who need a lightweight containerized environment for managing Kubernetes clusters, deploying applications using Helm, and interacting with OpenShift-specific resources. ## 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 @@ -27,10 +26,9 @@ To use this Docker image, you must have Docker installed on your system. You can pull the latest version of the image from Docker Hub using the following command: - You can pull the latest version of the image from Docker Hub using the following command: -`docker pull demtag/helm-oc:latest` +`docker pull demtag/helm-oc:latest` ### Running the Container