Skip to content

Latest commit

 

History

History
25 lines (16 loc) · 1.05 KB

README.md

File metadata and controls

25 lines (16 loc) · 1.05 KB

corretto-8-docker

Build Status

Master repository where Dockerfiles for Corretto 8 are hosted. For usage instructions, see the AWS documentation site.

Building

docker build -t amazon-corretto-8 github.com/corretto/corretto-8-docker

Testing

Tests are defined in test-image.yaml using GoogleContainerTools/container-structure-test. To run tests, execute ./test-image.sh.

Usage

A JAVA_HOME environment variable is configured to assist in tasks that require a known location of additional JRE/JDK files. For example installing a custom certificate into the default cacerts truststore.

keytool -import -trustcacerts -alias myAlias -file myCert.cer -keystore $JAVA_HOME/jre/lib/security/cacerts -storepass changeit -noprompt