Skip to content

Commit

Permalink
Use a symlink to not rely on the actual version of the collector
Browse files Browse the repository at this point in the history
  • Loading branch information
kumoroku committed Aug 16, 2015
1 parent fd3e545 commit e652693
Showing 1 changed file with 15 additions and 13 deletions.
28 changes: 15 additions & 13 deletions file-pid1/Dockerfile
Expand Up @@ -19,17 +19,19 @@ ADD sumo-sources.json /etc/sumo-sources.json

WORKDIR "/opt/SumoCollector"

RUN ln -s $(grep "wrapper.java.classpath.1" config/wrapper.conf | cut -d"/" -f 2) latest-version

ENTRYPOINT ["jre/bin/java", \
"-cp", \
"19.119-6/lib/*", \
"-server", \
"-verbose:gc", \
"-Xmx128m", \
"-Xms32m", \
"-XX:+UseParallelGC", \
"-XX:+AggressiveOpts", \
"-XX:+UseFastAccessorMethods", \
"-XX:+DisableExplicitGC", \
"-XX:+HeapDumpOnOutOfMemoryError", \
"-Djava.library.path=19.119-6/bin/native/lib", \
"com.sumologic.scala.collector.Collector"]
"-cp", \
"latest-version/lib/*", \
"-server", \
"-verbose:gc", \
"-Xmx128m", \
"-Xms32m", \
"-XX:+UseParallelGC", \
"-XX:+AggressiveOpts", \
"-XX:+UseFastAccessorMethods", \
"-XX:+DisableExplicitGC", \
"-XX:+HeapDumpOnOutOfMemoryError", \
"-Djava.library.path=latest-version/bin/native/lib", \
"com.sumologic.scala.collector.Collector"]

0 comments on commit e652693

Please sign in to comment.