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

DEBIAN_FRONTEND=noninteractive not visible in sudo #206

Open
rcywongaa opened this issue Dec 16, 2024 · 2 comments · May be fixed by #207
Open

DEBIAN_FRONTEND=noninteractive not visible in sudo #206

rcywongaa opened this issue Dec 16, 2024 · 2 comments · May be fixed by #207
Labels
bug Something isn't working

Comments

@rcywongaa
Copy link

rcywongaa commented Dec 16, 2024

Version or commit hash

4841b5e

RMW Implementation

Other

Steps to reproduce issue

ARG DEBIAN_FRONTEND=noninteractive

in Dockerfiles is supposed to suppress user interaction. However, environment variables are not visible in sudo.

This can be seen when attempting to install packages that ask for user interaction, e.g. keyboard-configuration.

Hence that line doesn't do what it claims.

Expected behavior

It should not prompt for user interaction

Actual behavior

It still prompt for user interaction, causing the build to hang

Backtrace or Console output

No response

@rcywongaa rcywongaa added the bug Something isn't working label Dec 16, 2024
rcywongaa added a commit to rcywongaa/docker that referenced this issue Dec 17, 2024
@Bckempa
Copy link
Contributor

Bckempa commented Dec 26, 2024

Thanks for adding a PR, we'll get some eyes on it. Do you think this change would need to be propagated up to the base space-ros install?

@rcywongaa
Copy link
Author

This change doesn't physically affect the current base, since the current base doesn't install anything that prompts for user interaction.

That said, I would think it's a good idea to propagate it up to the base, since it's still a line that doesn't do what it claims.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: No status
Development

Successfully merging a pull request may close this issue.

2 participants