ARG VERSION FROM guacamole/guacamole:${VERSION} # If you need to import a SSL certificate for your ldap-server # you can adapt the following exemplary lines to your needs. # It should be enough to place your 'ldap-cert.crt' in # the ./data directory and uncomment the following lines. #USER root #COPY data/ldap-cert.crt /usr/local/share/ca-certificates/ #RUN update-ca-certificates && \ # keytool -delete -alias ldap-cert -keystore $JAVA_HOME/jre/lib/security/cacerts -storepass changeit || true && \ # keytool -importcert -alias ldap-cert -keystore $JAVA_HOME/jre/lib/security/cacerts -file /etc/ssl/certs/ldap-cert.pem -storepass changeit -noprompt # On guacamole versions before 1.4.0 the following line should # stay commented, because there was no 'guacamole' user #USER guacamole