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

SDKman non disponible pour l'utilisateur root #47

Open
scandinave opened this issue Nov 18, 2024 · 1 comment
Open

SDKman non disponible pour l'utilisateur root #47

scandinave opened this issue Nov 18, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@scandinave
Copy link

Dans la formation quarkus, La cli de quarkus est installé via un script cloud-init. Ce script échoue, car il fait appel à la commande sdk qui n'est installé que pour l'utilisateur ubuntu. Il faudrait l'installer au global pour résoudre ce problème.

@scandinave scandinave added the bug Something isn't working label Nov 18, 2024
@scandinave scandinave changed the title SDK non disponible pour l'utilisateur root SDKman non disponible pour l'utilisateur root Nov 18, 2024
@scandinave
Copy link
Author

Installer sdkman sur root ne changera pas le problème, puisque celui-ci installera la cli Quarkus pour root et non Ubuntu. J'ai réussi à contourner le problème via : sudo -u ubuntu /bin/bash -c "source /home/ubuntu/.sdkman/bin/sdkman-init.sh && sdk install quarkus". Je sais pas si il y a moyen de faire mieux.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant