You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2022/10/18 09:14:06 UTC
[GitHub] [spark-docker] Yikun opened a new pull request, #14: [SPARK-40513] Cleanup apt lists cache
Yikun opened a new pull request, #14:
URL: https://github.com/apache/spark-docker/pull/14
### What changes were proposed in this pull request?
Remove unused apt lists cache and apply `./add-dockerfiles.sh 3.3.0`
### Why are the changes needed?
Clean cache to reduce docker image size.
This is also [recommanded](https://docs.docker.com/develop/develop-images/dockerfile_best-practices/#run) by docker community:
```
$ docker run --user 0:0 -ti apache/spark bash
root@5d1ca347279e:/opt/spark/work-dir# ls /var/lib/apt/lists/
auxfiles lock
deb.debian.org_debian_dists_bullseye-updates_InRelease partial
deb.debian.org_debian_dists_bullseye-updates_main_binary-arm64_Packages.lz4 security.debian.org_debian-security_dists_bullseye-security_InRelease
deb.debian.org_debian_dists_bullseye_InRelease security.debian.org_debian-security_dists_bullseye-security_main_binary-arm64_Packages.lz4
deb.debian.org_debian_dists_bullseye_main_binary-arm64_Packages.lz4
root@5d1ca347279e:/opt/spark/work-dir# du --max-depth=1 -h /var/lib/apt/lists/
4.0K /var/lib/apt/lists/partial
4.0K /var/lib/apt/lists/auxfiles
17M /var/lib/apt/lists/
```
### Does this PR introduce _any_ user-facing change?
Yes in some level, image size is reduced.
### How was this patch tested?
K8s CI passed
--
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: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark-docker] Yikun commented on pull request #14: [SPARK-40833] Cleanup apt lists cache
Posted by GitBox <gi...@apache.org>.
Yikun commented on PR #14:
URL: https://github.com/apache/spark-docker/pull/14#issuecomment-1282139581
cc @HyukjinKwon @zhengruifeng
--
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: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark-docker] Yikun closed pull request #14: [SPARK-40833] Cleanup apt lists cache
Posted by GitBox <gi...@apache.org>.
Yikun closed pull request #14: [SPARK-40833] Cleanup apt lists cache
URL: https://github.com/apache/spark-docker/pull/14
--
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: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark-docker] Yikun commented on pull request #14: [SPARK-40833] Cleanup apt lists cache
Posted by GitBox <gi...@apache.org>.
Yikun commented on PR #14:
URL: https://github.com/apache/spark-docker/pull/14#issuecomment-1283297626
@martin-g @HyukjinKwon @zhengruifeng Thanks! Merged.
--
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: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org