-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: added Dockerfile and README for Helm-OC image
- Loading branch information
Showing
2 changed files
with
7 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters