Project

General

Profile

Revision b2c1eebc

IDb2c1eebc7510f4856d2e4e89aed7dbb91e7c3f51
Parent 61c9e055
Child a61a689d

Added by Andreas Kohlbecker almost 2 years ago

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

View differences:

src/main/docker/production/Dockerfile
25 25
ENV JAVA_OPTIONS="-Dspring.profiles.active=remoting"
26 26

  
27 27
# fixed java options which must not be overwritten
28
ARG JAVA_OPTS="-Xmx$HEAP_SIZE \
28
ENV JAVA_OPTS="-Xmx$HEAP_SIZE \
29 29
    -XX:+UseG1GC -XX:ParallelGCThreads=$CPU_CORES -XX:ConcGCThreads=$CPU_CORES  \
30 30
    -Duser.home=$CDM_HOME $JAVA_OPTIONS"
31 31

  
32
ARG SERVER_ARGS="-forceSchemaUpdate -jmx"
33

  
34
ENV CDMSERVER_ARGS="-httpPort=$CDMSERVER_PORT -logdir=$LOGDIR -datasources $DATASOURCES"
32
ENV SERVER_ARGS="-forceSchemaUpdate -jmx"
33
ENV CDMSERVER_ARGS=" -httpPort=$CDMSERVER_PORT -logdir=$LOGDIR -datasources $DATASOURCES"
35 34

  
36 35
EXPOSE $CDMSERVER_PORT
37 36

  

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)