summaryrefslogtreecommitdiffstats
path: root/deployment/docker/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'deployment/docker/Dockerfile')
-rw-r--r--deployment/docker/Dockerfile17
1 files changed, 17 insertions, 0 deletions
diff --git a/deployment/docker/Dockerfile b/deployment/docker/Dockerfile
new file mode 100644
index 0000000..399a0bb
--- /dev/null
+++ b/deployment/docker/Dockerfile
@@ -0,0 +1,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