Skip to content

Add non-interactive apt-get install#3805

Open
champ24-36 wants to merge 1 commit intolm-sys:mainfrom
champ24-36:bot-fix-1773599225368
Open

Add non-interactive apt-get install#3805
champ24-36 wants to merge 1 commit intolm-sys:mainfrom
champ24-36:bot-fix-1773599225368

Conversation

@champ24-36
Copy link

This change adds the -y flag to the apt-get install commands in the Dockerfile. This ensures that the installation process is non-interactive, which is crucial for automated builds and avoids potential hangs during the build process. Without -y, the build can stall waiting for user input.

Before:
dockerfile
RUN apt-get update && apt-get install -q --no-install-recommends \
python3 python3-pip git wget curl vim

After:
dockerfile
RUN apt-get update && apt-get install -q -y --no-install-recommends \
python3 python3-pip git wget curl vim


Contributed via automated PR bot

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.

1 participant