4
4
#
5
5
# Configuration
6
6
#
7
- ENV DCC_STORAGE_HOME $DCC_HOME/dcc-storage-server
8
- ENV DCC_STORAGE_LOGS $DCC_STORAGE_HOME/logs
7
+ ENV SCORE_SERVER_VERSION 1.1.1
8
+ ENV SCORE_HOME $DCC_HOME/score-server
9
+ ENV SCORE_LOGS $SCORE_HOME/logs
9
10
10
11
# rtisma-20171002 Temp Hack untill new release
11
- # ENV DOWNLOAD_URL https://artifacts.oicr.on.ca/artifactory/dcc-release/org/icgc/dcc/dcc-storage-server/[RELEASE]/dcc-storage-server-[RELEASE]-dist.tar.gz
12
- ENV DOWNLOAD_URL https://artifacts.oicr.on.ca/artifactory/dcc-snapshot/org/icgc/dcc/dcc-storage-server/1.0.24-SNAPSHOT/dcc-storage-server-1.0.24-20171102.202102-7-dist.tar.gz
12
+ ENV DOWNLOAD_URL https://artifacts.oicr.on.ca/artifactory/dcc-release/bio/overture/score-server/${SCORE_SERVER_VERSION}/score-server-${SCORE_SERVER_VERSION}-dist.tar.gz
13
13
14
- ENV TARBALL $DCC_HOME/dcc-storage -server.tar.gz
14
+ ENV TARBALL $DCC_HOME/score -server.tar.gz
15
15
ENV DCC_SCRIPTS $DCC_HOME/scripts
16
16
17
17
ADD config $DCC_CONFIG
@@ -20,22 +20,22 @@ ADD scripts $DCC_SCRIPTS
20
20
21
21
ENV EXPAND_SCRIPT $DCC_HOME/tools/expand.py
22
22
ENV INPUT_FILE $DCC_CONFIG/application.yml.template
23
- ENV OUTPUT_FILE $DCC_STORAGE_HOME /conf/application.yml
23
+ ENV OUTPUT_FILE $SCORE_HOME /conf/application.yml
24
24
25
25
RUN wget $DOWNLOAD_URL -O $TARBALL && \
26
26
tar zxvf $TARBALL && \
27
- mv -f $DCC_HOME/dcc-storage- server-* $DCC_STORAGE_HOME && \
28
- rm -rf $TARBALL $DCC_STORAGE_HOME /conf/application.* && \
29
- mv $DCC_STORAGE_LOGS ${DCC_STORAGE_LOGS }.bak && \
30
- ln -s $DCC_HOME/storage_server_logs $DCC_STORAGE_LOGS
31
-
32
- # ln -s $DCC_STORAGE_HOME /conf/application.yml $DCC_STORAGE_HOME /conf/application-secure.yml && \
33
- # ln -s $DCC_STORAGE_HOME /conf/application.yml $DCC_STORAGE_HOME /conf/application-prod.yml && \
34
- # ln -s $DCC_STORAGE_HOME /conf/application.yml $DCC_STORAGE_HOME /conf/application-collaboratory.yml && \
27
+ mv -f $DCC_HOME/score- server-* $SCORE_HOME && \
28
+ rm -rf $TARBALL $SCORE_HOME /conf/application.* && \
29
+ mv $SCORE_LOGS ${SCORE_LOGS }.bak && \
30
+ ln -s $DCC_HOME/storage_server_logs $SCORE_LOGS
31
+
32
+ # ln -s $SCORE_HOME /conf/application.yml $SCORE_HOME /conf/application-secure.yml && \
33
+ # ln -s $SCORE_HOME /conf/application.yml $SCORE_HOME /conf/application-prod.yml && \
34
+ # ln -s $SCORE_HOME /conf/application.yml $SCORE_HOME /conf/application-collaboratory.yml && \
35
35
# wrapper.app.parameter.5=--spring.profiles.active=collaboratory,prod,secure \
36
36
CMD python3 $EXPAND_SCRIPT $INPUT_FILE $OUTPUT_FILE && \
37
37
/bin/bash -c $DCC_SCRIPTS/create-buckets.sh && \
38
- $DCC_STORAGE_HOME /bin/dcc-storage-server start \
38
+ $SCORE_HOME /bin/dcc-storage-server start \
39
39
wrapper.java.additional.2=-Dcom.sun.management.jmxremote.port=${STORAGE_SERVER_JMX_PORT} \
40
40
wrapper.app.parameter.6=--server.port=${STORAGE_SERVER_PORT} \
41
41
wrapper.app.parameter.5=--spring.profiles.active=amazon,collaboratory,prod,secure \
0 commit comments