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

Toolbox installation in a container with non-root user #257

Closed
eugen-natucci opened this issue Sep 2, 2021 · 0 comments
Closed

Toolbox installation in a container with non-root user #257

eugen-natucci opened this issue Sep 2, 2021 · 0 comments

Comments

@eugen-natucci
Copy link

eugen-natucci commented Sep 2, 2021

I'm using a custom docker image for my Semaphore CI workflow. For that image I intentionally create a user to avoid executing the workflow on behalf of root. The problem now is, however, that in the beginning of the workflow, the toolbox installation is happening, which executes commands with sudo:

`sudo $@`

Which is not possible in my context. My options now are to allow executing sudo without a password for my user or even using root for that matter now. However, this is something that I wanted to avoid in the first place.

What would my options now be? Is it possible to skip the installation of the toolbox at runtime and do that once when I build the image?

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

1 participant