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.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

Add picture from clipboard (Maximum size: 40 MB)