Skip to content

chore(build): Move environment variables from RUN to dedicated ENV instruction#3477

Merged
PragmaTwice merged 1 commit into
unstablefrom
aleksraiden-patch-3
May 2, 2026
Merged

chore(build): Move environment variables from RUN to dedicated ENV instruction#3477
PragmaTwice merged 1 commit into
unstablefrom
aleksraiden-patch-3

Conversation

@aleksraiden
Copy link
Copy Markdown
Contributor

@aleksraiden aleksraiden commented May 2, 2026

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:

#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

@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented May 2, 2026

Quality Gate Failed Quality Gate failed

Failed conditions
1 Security Hotspot
D Maintainability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

@PragmaTwice PragmaTwice merged commit acc9790 into unstable May 2, 2026
108 of 111 checks passed
@aleksraiden aleksraiden deleted the aleksraiden-patch-3 branch May 2, 2026 17:28
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
`
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.

3 participants