summaryrefslogtreecommitdiffstats
path: root/deployment/docker/Dockerfile
blob: 399a0bbf72b051d4395715c56e83605f7edaebdd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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