I have been trying to get those two install-dvls scripts to work in docker, initially I was using Ubuntu official container, but I only tried the sh script and could not get past this error:
root@1d11918bec9a:/working# ./install-dvls.sh
/usr/bin/env: 'bash\r': No such file or directory
/usr/bin/env: use -[v]S to pass options in shebang lines
Assumed it was an issue with the ubuntu image, so I switched to a Debian image, but with the sh script I ran into the exact same error??? FYI I did have to manually install several packages initially such as Sudo, pwsh etc
I think decided to try the ps1 using pwsh package, it fired off and i went through the interactive prompts then i think it errored around ln 282 of the ps1:
[20241017210813] Creating user (dvls), group (dvls), and directory (/opt/devolutions/dvls)
useradd: user 'dvls' already exists
groupadd: group 'dvls' already exists
usermod: user '' does not exist
Write-Error: [20241017210813] User, 'dvls' and '', are not members of the group, 'dvls'
Should mention, this was the 2nd run of the PS1. Hopefully, you gathered that already going by the "Already Exists" lines.
Granted I have not tried on an ubuntu VM yet but in theory this should work in docker if the requirements are met??
Any ideas