I am using the docker image of tomcat with jre8, I have to change an option inside the java environment, it is possible to do it after the container is running, ssh to it and change
securerandom.source=file:/dev/random
to
securerandom.source=file:/dev/urandom
inside
root@112ecdd0b71f:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/security/java.security
However, I want to do it automatically on before the container is starting up, because the current setting takes a lot of time to the tomcat to start-up.