We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When you need to be root in docker container on Jenkins, you must append -u 0 in docker args.
-u 0
agent { docker { image 'golang:alpine' args '-u 0' } }
Then, you will be able to install dependencies using package manager like apt, apk(on Alpine Linux).
apt
apk
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When you need to be root in docker container on Jenkins, you must append
-u 0
in docker args.Then, you will be able to install dependencies using package manager like
apt
,apk
(on Alpine Linux).The text was updated successfully, but these errors were encountered: