Repository navigation
[main] Removing shell dependency from icu and krb5 packages. - #2345
Merged
Pawel Winogrodzki (PawelWMS) merged 1 commit intoFeb 28, 2022
Merged
Pawel Winogrodzki (PawelWMS) merged 1 commit into
Pawel Winogrodzki (PawelWMS) merged 1 commit into
Conversation
Muhammad Falak R Wani (mfrw)
approved these changes
Feb 28, 2022
Muhammad Falak R Wani (mfrw)
left a comment
Member
There was a problem hiding this comment.
LGTM.
I was able to build normally but mock build seemed to fail.
Let's probably tread with care :)
Pawel Winogrodzki (PawelWMS)
force-pushed
the
pawelwi/making_packages_distroless
branch
from
February 28, 2022 21:59
6e61087 to
a5c43b8
Compare
icu and krb5 packages.
jslobodzian
approved these changes
Feb 28, 2022
Pawel Winogrodzki (PawelWMS)
deleted the
pawelwi/making_packages_distroless
branch
February 28, 2022 22:55
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Merge Checklist
All boxes should be checked before merging the PR (just tick any boxes which don't apply to this PR)
*-staticsubpackages, etc.) have had theirReleasetag incremented../cgmanifest.json,./toolkit/tools/cgmanifest.json,./toolkit/scripts/toolchain/cgmanifest.json)./SPECS/LICENSES-AND-NOTICES/data/licenses.json,./SPECS/LICENSES-AND-NOTICES/LICENSES-MAP.md,./SPECS/LICENSES-AND-NOTICES/LICENSE-EXCEPTIONS.PHOTON)*.signatures.jsonfilessudo make go-tidy-allandsudo make go-test-coveragepassSummary
We have a growing need to use Mariner's packages in distroless containers and one of the frequently hit issues is that packages have a an implicit dependency on the shell either by having a
%(post|pre)section or by containing scripts, which depend on an interpreted through the#!line. This PR removes shell dependencies from theicuandkrb5packages. The assumption is that distroless images do not include a shell, so there's no expectation to be able to run any shell scripts and non-distroless images always have a shell (Bash) installed, so it's present anyway.Change Log
icuandkrb5.Does this affect the toolchain?
No.
Test Methodology