zhengruifeng opened a new pull request, #44768:
URL: https://github.com/apache/spark/pull/44768

   ### What changes were proposed in this pull request?
   Purge pip cache in dockerfile
   
   
   ### Why are the changes needed?
   to save 4G disk space:
   
   before
   
   https://github.com/zhengruifeng/spark/actions/runs/7541725028/job/20530432798
   
   ```
   #45 [39/39] RUN df -h
   #45 0.090 Filesystem      Size  Used Avail Use% Mounted on
   #45 0.090 overlay          84G   70G   15G  83% /
   #45 0.090 tmpfs            64M     0   64M   0% /dev
   #45 0.090 shm              64M     0   64M   0% /dev/shm
   #45 0.090 /dev/root        84G   70G   15G  83% /etc/resolv.conf
   #45 0.090 tmpfs           7.9G     0  7.9G   0% /proc/acpi
   #45 0.090 tmpfs           7.9G     0  7.9G   0% /sys/firmware
   #45 0.090 tmpfs           7.9G     0  7.9G   0% /proc/scsi
   #45 DONE 2.0s
   ```
   
   after
   
   https://github.com/zhengruifeng/spark/actions/runs/7549204209/job/20552796796
   
   ```
   #48 [42/43] RUN python3.12 -m pip cache purge
   #48 0.670 Files removed: 392
   #48 DONE 0.7s
   
   #49 [43/43] RUN df -h
   #49 0.075 Filesystem      Size  Used Avail Use% Mounted on
   #49 0.075 overlay          84G   65G   19G  79% /
   #49 0.075 tmpfs            64M     0   64M   0% /dev
   #49 0.075 shm              64M     0   64M   0% /dev/shm
   #49 0.075 /dev/root        84G   65G   19G  79% /etc/resolv.conf
   #49 0.075 tmpfs           7.9G     0  7.9G   0% /proc/acpi
   #49 0.075 tmpfs           7.9G     0  7.9G   0% /sys/firmware
   #49 0.075 tmpfs           7.9G     0  7.9G   0% /proc/scsi
   ```
   ### Does this PR introduce _any_ user-facing change?
   no, infra-only
   
   ### How was this patch tested?
   ci
   
   ### Was this patch authored or co-authored using generative AI tooling?
   no


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to