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

Extending agent is not working. Sudo is missing. #26

Closed
matusmala opened this issue Dec 23, 2024 · 4 comments · Fixed by #27 or #28
Closed

Extending agent is not working. Sudo is missing. #26

matusmala opened this issue Dec 23, 2024 · 4 comments · Fixed by #27 or #28
Assignees

Comments

@matusmala
Copy link

Hello, we are using the azure-devops-agent with version 2.0.0 and extending it with Java. This is not working with new 2.0.1 version, because there is no way to install java - as sudo is disabled in this version.

Is it on purpose?

@btungut
Copy link
Owner

btungut commented Dec 24, 2024

Hi @matusmala,

Sorry for the problem you have been experiencing; could you please share the method and details of how you used this repo to install java at 2.0.0 and not working at 2.0.1?

@btungut btungut self-assigned this Dec 24, 2024
This was linked to pull requests Dec 24, 2024
@btungut
Copy link
Owner

btungut commented Dec 24, 2024

Hi @matusmala,

Please disregard my previous message and try the newly released version v2.1.0.
This version includes the sudo permissions you requested and previously had. Additionally, if you have mounted the docker.sock, it will grant you the necessary permissions for that as well!

@btungut btungut reopened this Dec 24, 2024
@btungut
Copy link
Owner

btungut commented Dec 24, 2024

image

@btungut btungut closed this as completed Dec 24, 2024
@matusmala
Copy link
Author

Nice, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants