Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SPARK-44176] Change apt to apt-get and remove useless cleanup #47

Closed
wants to merge 1 commit into from

Conversation

Yikun
Copy link
Member

@Yikun Yikun commented Jun 25, 2023

What changes were proposed in this pull request?

This patch change apt to apt-get and also remove useless rm -rf /var/cache/apt/*; \.
And also apply the change to 3.4.0 and 3.4.1

Why are the changes needed?

Address comments from DOI:

  • apt install ..., This should be apt-get (apt is not intended for unattended use, as the warning during build makes clear).
  • rm -rf /var/cache/apt/*; \ This is harmless, but should be unnecessary (the base image configuration already makes sure this directory stays empty).

See more in:
[1] docker-library/official-images#13089 (comment)

Does this PR introduce any user-facing change?

No

How was this patch tested?

CI passed

Signed-off-by: Yikun Jiang <yikunkero@gmail.com>
@Yikun Yikun changed the title Change apt to apt-get and remove useless cleanup [SPARK-44176] Change apt to apt-get and remove useless cleanup Jun 25, 2023
@Yikun Yikun marked this pull request as ready for review June 26, 2023 06:25
@Yikun
Copy link
Member Author

Yikun commented Jun 26, 2023

cc @HyukjinKwon @zhengruifeng

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants