Project

General

Profile

« Previous | Next » 

Revision b2c1eebc

Added by Andreas Kohlbecker about 5 years ago

ref #6522 fixing problems with ARGs in Dockerfiles and more documentation

View differences:

src/main/docker/production/Dockerfile.dev
18 18
ENV JAVA_OPTIONS="-Dspring.profiles.active=remoting"
19 19

  
20 20
# fixed java options which must not be overwritten
21
ARG JAVA_OPTS="-Xmx$HEAP_SIZE \
21
ENV JAVA_OPTS="-Xmx$HEAP_SIZE \
22 22
    -XX:+UseG1GC -XX:ParallelGCThreads=$CPU_CORES -XX:ConcGCThreads=$CPU_CORES  \
23 23
    -Duser.home=$CDM_HOME $JAVA_OPTIONS"
24 24

  
25
ARG SERVER_ARGS="-forceSchemaUpdate -jmx"
26

  
27
ENV CDMSERVER_ARGS="-httpPort=$CDMSERVER_PORT -logdir=$LOGDIR -datasources $DATASOURCES"
25
ENV SERVER_ARGS="-forceSchemaUpdate -jmx"
26
ENV CDMSERVER_ARGS=" -httpPort=$CDMSERVER_PORT -logdir=$LOGDIR -datasources $DATASOURCES"
28 27

  
29 28
EXPOSE $CDMSERVER_PORT
30 29

  

Also available in: Unified diff