forked from virtualcell/vcell
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Dockerfile-clientgen_NOT_USED
67 lines (56 loc) · 2.53 KB
/
Dockerfile-clientgen_NOT_USED
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
FROM maven:3.5-jdk-8-alpine as build
COPY . /app/
WORKDIR /app
RUN mvn clean install dependency:copy-dependencies
FROM openjdk:8
RUN mkdir /installer && cd /installer && \
wget --quiet -O install4j_unix_6_1_6.tar.gz \
http://download-keycdn.ej-technologies.com/install4j/install4j_unix_6_1_6.tar.gz && \
tar xzf install4j_unix_6_1_6.tar.gz
COPY --from=build \
/app/license.txt \
/app/vcell-client/src/main/resources/thirdpartylicenses.txt \
/app/vcell-client/src/main/resources/vcellSplash.png \
/vcellclient/
COPY --from=build /app/bionetgen /vcellclient/bionetgen
COPY --from=build /app/exampleModels /vcellclient/exampleModels
COPY --from=build /app/localsolvers /vcellclient/localsolvers
COPY --from=build /app/nativelibs /vcellclient/nativelibs
COPY --from=build /app/pythonScripts /vcellclient/pythonScripts
COPY --from=build \
/app/vcell-client/target/vcell-client-0.0.1-SNAPSHOT.jar \
/app/vcell-client/target/maven-jars/*.jar \
/vcellclient/vcell-client/target/maven-jars/
COPY --from=build /app/docker/installers /config/
WORKDIR /config
VOLUME /jres
VOLUME /outputdir
VOLUME /buildsecrets
#
# Install4j code signing certificates and Install4J product key (using docker-compose 'secrets' facility)
#
ENV winCodeSignKeystore_pfx=/buildsecrets/winCodeSignKeystore_pfx \
macCodeSignKeystore_p12=/buildsecrets/macCodeSignKeystore_p12 \
winCodeSignKeystore_pswdfile=/buildsecrets/winCodeSignKeystore_pswdfile \
macCodeSignKeystore_pswdfile=/buildsecrets/macCodeSignKeystore_pswdfile \
Install4J_product_key_file=/buildsecrets/Install4J_product_key_file
#
# these are to be overridden for a particular context
#
ENV compiler_updateSiteBaseUrl="update-site-not-set" \
compiler_vcellIcnsFile=/install/icons/vcell.icns \
compiler_mavenRootDir=/vcellclient \
compiler_softwareVersionString="SOFTWARE-VERSION-NOT-SET" \
compiler_Site=SITE-NOT-SET \
compiler_vcellVersion=VCELL-VERSION-NOT-SET \
compiler_vcellBuild=VCELL-BUILD-NOT-SET \
compiler_rmiHosts="apihost-not-set:api-port-not-set" \
compiler_bioformatsJarFile=vcell-bioformats-0.0.5-jar-with-dependencies.jar \
compiler_bioformatsJarDownloadURL=http://vcell.org/webstart/vcell-bioformats-0.0.5-jar-with-dependencies.jar \
compiler_applicationId="client-applicationId-not-set" \
macJre=macosx-amd64-1.8.0_141 \
win64Jre=windows-amd64-1.8.0_141 \
win32Jre=windows-x86-1.8.0_141 \
linux64Jre=linux-amd64-1.8.0_66 \
linux32Jre=linux-x86-1.8.0_66
ENTRYPOINT [ "/config/build_installers.sh" ]