Add ability to enable strong cryptography with Oracle JDK
| | |
| | | resources/geoserver.zip |
| | | resources/plugins/*.zip |
| | | resources/*jdk-*-linux-x64.tar.gz |
| | | resources/jce_policy.zip |
| | | .idea |
| | |
| | | ln -s --force /usr/lib/jvm/java-7-oracle /usr/lib/jvm/default-java && \ |
| | | rm -rf /var/lib/apt/lists/* && \ |
| | | rm -rf /var/cache/oracle-jdk7-installer; \ |
| | | if [ -f /tmp/resources/jce_policy.zip ]; then \ |
| | | unzip -j /tmp/resources/jce_policy.zip -d /tmp/jce_policy && \ |
| | | mv /tmp/jce_policy/*.jar $JAVA_HOME/jre/lib/security/; \ |
| | | fi; \ |
| | | fi; |
| | | |
| | | # A little logic that will fetch the geoserver war zip file if it |
| | |
| | | [webupd8team's Oracle JDK installer](https://launchpad.net/~webupd8team/+archive/ubuntu/java/+packages) |
| | | (usually the latest version available from Oracle) and place it in `resources` before building. |
| | | |
| | | To enable strong cryptography when using the Oracle JDK (recommended), download the |
| | | [Oracle Java policy jar zip](http://docs.geoserver.org/latest/en/user/production/java.html#oracle-java) |
| | | for the correct JDK version and place it at `resources/jce_policy.zip` before building. |
| | | |
| | | ### Building with plugins |
| | | |
| | | To build a GeoServer image with plugins (e.g. SQL Server plugin, Excel output plugin), |