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

fix: remove pkg_tar workaround from temurin archive #1582

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

thesayyn
Copy link
Collaborator

@thesayyn thesayyn commented May 1, 2024

Removes the workaround for executable files in temurin_archive and replaces it with tar from bazel-lib. This PR introduces a new system dependency awk for the build. @loosebazooka is awk installed on cloudbuild runners?

Some diff is expected, because tar rule preserves both numeric and non-numeric owner for files and defaults to file mode on disk.

Also aspect-build/bazel-lib#829 landed, i will remove genrule once there's a new release of bazel-lib.

@thesayyn thesayyn requested a review from loosebazooka May 1, 2024 20:13
Copy link
Contributor

github-actions bot commented May 1, 2024

🌳 🔄 Image Check

This pull request has modified the following images:

//java:java21_root_arm64_debian12
//java:java21_root_ppc64le_debian12
//java:java21_nonroot_amd64_debian12
//java:java21_nonroot_arm64_debian12
//java:java21_root_amd64_debian12
//java:java21_debug_nonroot_ppc64le_debian12
//java:java21_debug_root_arm64_debian12
//java:java21_debug_nonroot_amd64_debian12
//java:java21_debug_root_ppc64le_debian12
//java:java21_debug_root_amd64_debian12
//java:java21_debug_nonroot_arm64_debian12
//java:java21_nonroot_ppc64le_debian12

You can check the details in the report here

@loosebazooka
Copy link
Member

loosebazooka commented May 6, 2024

@thesayyn
seeing directories with odd permissions (from the diff report)

File     usr/lib/jvm/temurin21_jre_arm64/conf/security/policy/                                                Mode 0x1ed                                                    Mode 0x0

Current 0755
New 0000

which looks incorrect to me. Is that just what's provided by the temurin archive? But I can't seem to figure out what's going on here.

@loosebazooka
Copy link
Member

found some other issues here. Duplicate entries of the same file (ex:/usr) wont load up in docker.

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

Successfully merging this pull request may close these issues.

None yet

2 participants