SAP-samples / hana-developer-cli-tool-example

Learn how to build a developer-centric SAP HANA command line tool, particularly designed to be used when performing SAP HANA development in non-SAP tooling (for example from VS Code).
Apache License 2.0
90 stars 24 forks source link

sudo #52

Closed greg2git closed 3 years ago

greg2git commented 3 years ago

Hi Tom,

i hope this is not a wrong entry point for my issue and maybe it can confirmed. if i want to use BTP to install binaries from scratch i think i may need sudo , however if run it in my BTP dev space i get this error: bash: sudo: command not found

when i put Azure to the side and try either Google or Amazon they both come back with usage: sudo -h | -K | -k | -V

if there's a better place to raise this issue, please close it here and let me know where to try it next.

thank you, greg

jung-thomas commented 3 years ago

Are you just talking about in general installing things into the Business Application Studio terminal/shell?

greg2git commented 3 years ago

yes, just getting as close to DIY as possible, if possible.

jung-thomas commented 3 years ago

We pretty intentionally don't give out the root privileges within the Business Application Studio environment. Do you have a specific tool/scenario you are trying to use that requires root?

greg2git commented 3 years ago

yes, install docker, docker-compose, go, and maybe few other tools.

i heard they are pretty popular and i would like to use them alongside the latest HANA, if that makes any sense.

jung-thomas commented 3 years ago

We certainly support adding some command line utilities to BAS. Like hana-cli, jq, or others. However what you are describing here are major new development workflows or programming runtimes. SAP isn't focused on making BAS a general purpose Cloud IDE for all runtimes and scenarios but instead focuses on those mainline SAP specific tools and scenarios. If Go or Docker become mainline to SAP development (which they might in the Kyma context down the road), then they should be validated and added to a dev workspace by SAP.