Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
remove apt lists after building
Browse files Browse the repository at this point in the history
kkamani authored Jan 9, 2024
1 parent ecbb69c commit 4dead90
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion helm-oc/Dockerfile
Original file line number Diff line number Diff line change
@@ -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 clean && rm -rf /var/lib/apt/lists/*

0 comments on commit 4dead90

Please sign in to comment.