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

Add sudo to the container #114

Closed
moetayuko opened this issue May 16, 2023 · 2 comments
Closed

Add sudo to the container #114

moetayuko opened this issue May 16, 2023 · 2 comments

Comments

@moetayuko
Copy link
Contributor

c8beb1b added sudo to the old Dockerfile, but the new image based on buildworker does not have sudo.

@aparcar
Copy link
Member

aparcar commented May 16, 2023

If you need root within the container please use the command below.

docker run --rm -it --user root openwrt/imagebuilder

@aparcar aparcar closed this as completed May 16, 2023
@moetayuko
Copy link
Contributor Author

Directly using the root user for dev is unsafe IMO. sudo is preferred for temporary root access, such as apt install.

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

No branches or pull requests

2 participants