Skip to content
Snippets Groups Projects
Unverified Commit 18d84db4 authored by Mateusz Mojsiejuk's avatar Mateusz Mojsiejuk Committed by GitHub
Browse files

Don't search filesystem mounts in docker build step (#10131)

Limit find cmd to /usr/ where __pycache__ files are located
parent 08a571b4
No related branches found
No related tags found
No related merge requests found
......@@ -41,4 +41,4 @@ RUN apt update -q \
&& echo $(curl -L https://dl.k8s.io/release/$KUBE_VERSION/bin/linux/$(dpkg --print-architecture)/kubectl.sha256) /usr/local/bin/kubectl | sha256sum --check \
&& chmod a+x /usr/local/bin/kubectl \
&& rm -rf /var/lib/apt/lists/* /var/log/* \
&& find / -type d -name '*__pycache__' -prune -exec rm -rf {} \;
&& find /usr -type d -name '*__pycache__' -prune -exec rm -rf {} \;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment