eclipse-pass / pass-deposit-services

Deposit Services are responsible for the transfer of custodial content and metadata from end users to repositories.
Apache License 2.0
1 stars 4 forks source link

Update JVM and DNS TTL settings #237

Closed birkland closed 5 years ago

birkland commented 5 years ago

Updates the Dockerfile to update to openJDK_212, and change DNS ttl to 10 seconds.

Note: The Docker build fails on Windows for a silly reason. Let's see if Travis does better:

echo \"networkaddress.cache.ttl=10\" >> C:/Program Files/Java/jdk1.8.0_131/lib/security/java.security' returned a non-zero code: 1"
emetsger commented 5 years ago

Unfortunately due to the behavior of the Maven Docker Plugin, the value of the JAVA_HOME environment variable present in the Docker build context is over ruled by the value of JAVA_HOME in the local environment (the JVM used to invoke Maven).

This means that any local environment variable that shares a name with an environment variable present in the Docker build context will win out. :(