-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathDockerfile
31 lines (25 loc) · 854 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
FROM ubuntu:latest
# Download/Install Foundry Licensing Tools
RUN apt-get -qq update
RUN apt-get install wget -y
RUN wget http://thefoundry.s3.amazonaws.com/tools/FLT/7.1v1/FLT7.1v1-linux-x86-release-64.tgz
RUN tar xzf FLT7.1v1-linux-x86-release-64.tgz
RUN rm FLT7.1v1-linux-x86-release-64.tgz
RUN cd /FLT_7.1v1_linux-x86-release-64RH/ && echo yes | /bin/sh install.sh
# Update Reprise to latest version
RUN wget http://www.reprisesoftware.com/license_admin_kits/x64_l1.admin.tar.gz
RUN tar xvf x64_l1.admin.tar.gz
RUN rm x64_l1.admin.tar.gz
RUN cp /x64_l1.admin/rlm /usr/local/foundry/LicensingTools7.1/bin/RLM/rlm.foundry
VOLUME /opt/rlm/licenses
# rlm server
EXPOSE 5053
# admin gui
EXPOSE 5054
# isv server
EXPOSE 4101
# Add startup script
COPY ./start.sh /opt/start.sh
RUN chmod +x /opt/start.sh
# Run the startup script
CMD ["/opt/start.sh"]