Skip to content

Commit

Permalink
feat: added Dockerfile and README for Helm-OC image
Browse files Browse the repository at this point in the history
  • Loading branch information
kkamani authored and Kevin Kamani committed Jan 9, 2024
1 parent 697ae7c commit fe1ba9e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
7 changes: 4 additions & 3 deletions helm-oc/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
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
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/*
6 changes: 3 additions & 3 deletions helm-oc/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fe1ba9e

Please sign in to comment.