-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile.guacamole
More file actions
20 lines (15 loc) · 1.01 KB
/
Dockerfile.guacamole
File metadata and controls
20 lines (15 loc) · 1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# can use the tomcat official image, but it is quite big
FROM alpine:3.12.3
RUN mkdir -p /etc/guacamole/extensions && mkdir -p /etc/guacamole/lib
RUN wget https://bitbucket.org/terndatateam/massive-guacamole-remote/downloads/massive-guacamole-remote-1.3.2.jar -O /etc/guacamole/extensions/massive-guacamole-remote-1.3.2.jar
RUN wget https://repo1.maven.org/maven2/com/google/code/gson/gson/2.4/gson-2.4.jar -O /etc/guacamole/lib/gson-2.4.jar
COPY guacamole/guacamole.properties /etc/guacamole/
RUN apk update
RUN apk add --no-cache openjdk8
RUN mkdir /opt/apache-tomcat
RUN wget https://apache.mirror.digitalpacific.com.au/tomcat/tomcat-8/v8.5.71/bin/apache-tomcat-8.5.71.tar.gz -O apache-tomcat-8.tar.gz
RUN tar xvzf apache-tomcat-8.tar.gz --strip-components 1 --directory /opt/apache-tomcat
RUN rm apache-tomcat-8.tar.gz
RUN wget https://apache.org/dyn/closer.lua/guacamole/1.3.0/binary/guacamole-1.3.0.war?action=download -O /opt/apache-tomcat/webapps/guacamole.war
EXPOSE 8080
CMD ["/opt/apache-tomcat/bin/catalina.sh", "run"]