flcontainers / guacamole

A Docker Container for Apache Guacamole, a client-less remote desktop gateway. It supports standard protocols like VNC, RDP, and SSH over HTML5. For x64, arm64 and ppc64le.
https://hub.docker.com/r/flcontainers/guacamole
GNU General Public License v3.0
343 stars 65 forks source link

Remove the error during configuration preparation. #105

Closed Maksance closed 10 months ago

Maksance commented 10 months ago

Hello,

I have included -f argument on the rm commands in the startup script. This prevents errors at the start of the container when these addons are not used:

rm: can't remove '/config/guacamole/extensions/guacamole-auth-duo-*.jar': No such file or directory
rm: can't remove '/config/guacamole/extensions/guacamole-auth-header-*.jar': No such file or directory
rm: can't remove '/config/guacamole/extensions/guacamole-auth-jdbc-mysql-*.jar': No such file or directory
rm: can't remove '/config/guacamole/extensions/guacamole-auth-jdbc-sqlserver-*.jar': No such file or directory
rm: can't remove '/config/guacamole/extensions/guacamole-auth-json-*.jar': No such file or directory
rm: can't remove '/config/guacamole/extensions/guacamole-auth-ldap-*.jar': No such file or directory
rm: can't remove '/config/guacamole/extensions/guacamole-auth-quickconnect-*.jar': No such file or directory
rm: can't remove '/config/guacamole/extensions/guacamole-auth-sso-openid-*.jar': No such file or directory
rm: can't remove '/config/guacamole/extensions/guacamole-auth-sso-saml-*.jar': No such file or directory
rm: can't remove '/config/guacamole/extensions/guacamole-auth-sso-cas-*.jar': No such file or directory
rm: can't remove '/config/guacamole/extensions/guacamole-auth-totp-*.jar': No such file or directory
rm: can't remove '/config/guacamole/extensions/guacamole-vault-ksm-*.jar': No such file or directory
rm: can't remove '/config/guacamole/extensions/guacamole-history-recording-storage-*.jar': No such file or directory