chore(build): Move environment variables from RUN to dedicated ENV instruction#3477
Merged
Conversation
torwig
approved these changes
May 2, 2026
|
PragmaTwice
approved these changes
May 2, 2026
nkroker
pushed a commit
to nkroker/kvrocks
that referenced
this pull request
May 29, 2026
…struction (apache#3477) Remove `ENV` variables from the `RUN` instruction and use the dedicated `ENV` directive instead. This change eliminates the following debconf warnings that appear during package updates: ` apache#8 5.404 debconf: unable to initialize frontend: Dialog apache#8 5.404 debconf: (TERM is not set, so the dialog frontend is not usable.) apache#8 5.404 debconf: falling back to frontend: Readline apache#8 5.404 debconf: unable to initialize frontend: Readline apache#8 5.404 debconf: (Can't locate Term/ReadLine.pm in @inc (you may need to install the Term::ReadLine module) (@inc contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.36.0 /usr/local/share/perl/5.36.0 /usr/lib/x86_64-linux-gnu/perl5/5.36 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl-base /usr/lib/x86_64-linux-gnu/perl/5.36 /usr/share/perl/5.36 /usr/local/lib/site_perl) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.) apache#8 5.404 debconf: falling back to frontend: Teletype `
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.




Remove
ENVvariables from theRUNinstruction and use the dedicatedENVdirective instead.This change eliminates the following debconf warnings that appear during package updates:
#8 5.404 debconf: unable to initialize frontend: Dialog #8 5.404 debconf: (TERM is not set, so the dialog frontend is not usable.) #8 5.404 debconf: falling back to frontend: Readline #8 5.404 debconf: unable to initialize frontend: Readline #8 5.404 debconf: (Can't locate Term/ReadLine.pm in @INC (you may need to install the Term::ReadLine module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.36.0 /usr/local/share/perl/5.36.0 /usr/lib/x86_64-linux-gnu/perl5/5.36 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl-base /usr/lib/x86_64-linux-gnu/perl/5.36 /usr/share/perl/5.36 /usr/local/lib/site_perl) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.) #8 5.404 debconf: falling back to frontend: Teletype