1 minute read

Building on the previous work Docker Containers Everywhere, AEM and Docker 😍😘 and Docker AEM Bundle its time to bring AEM SDK and JDK11 into life!

If you take a look docker hub and docker-aem branches you will find a couple of new additions that you will find helpful.

JDK11 version of AEM 6.5 and AEM SDK version is now ready for use!

Running AEM JDK 11 in Docker

To start author AEM 6.5 with SP10 on JDK11 run the following:

docker run --name author655 -e "TZ=Australia/Sydney" -e ",crx3,crx3tar,forms,localdev" -e "AEM_JVM_OPTS=-server -Xms248m -Xmx1524m -XX:MaxDirectMemorySize=256M -XX:+CMSClassUnloadingEnabled -Djava.awt.headless=true -Xdebug -Xrunjdwp:transport=dt_socket,server=y,address=58242,suspend=n -XX:+UseParallelGC --add-opens=java.desktop/com.sun.imageio.plugins.jpeg=ALL-UNNAMED --add-opens=java.base/ --add-opens=java.naming/javax.naming.spi=ALL-UNNAMED --add-opens=java.xml/ --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/jdk.internal.loader=ALL-UNNAMED --add-opens=java.base/ -Dnashorn.args=--no-deprecation-warning" -p4502:8080 -p30303:58242 -d aemdesign/aem:

To start author AEM SDK version 2021.10.5958 run the following:

docker run --name authorsdk2021105958 -e "TZ=Australia/Sydney" -e ",crx3,crx3tar,forms,localdev" -e "AEM_JVM_OPTS=-server -Xms248m -Xmx1524m -XX:MaxDirectMemorySize=256M -XX:+CMSClassUnloadingEnabled -Djava.awt.headless=true -Xdebug -Xrunjdwp:transport=dt_socket,server=y,address=58242,suspend=n -XX:+UseParallelGC --add-opens=java.desktop/com.sun.imageio.plugins.jpeg=ALL-UNNAMED --add-opens=java.base/ --add-opens=java.naming/javax.naming.spi=ALL-UNNAMED --add-opens=java.xml/ --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/jdk.internal.loader=ALL-UNNAMED --add-opens=java.base/ -Dnashorn.args=--no-deprecation-warning" -p4502:8080 -p30303:58242 -d aemdesign/aem:sdk-2021.10.5958

To make all this possible following Docker image chain has been updated:

In addition to these pipelines have been updated to allow Docker Image squash experimental option to ensure all images have the smallest amount of layers.

Additionally, centos build pack has been updated to JDK 11 and Centos 8 with all the swiss army knife tools one expects.

Thank you

Please checkout the docker hub aemdesign/aem for further details.

If you would like to contribute or fork the code, you can get it on GitHub

Don’t forget to tell your friends.

Leave a Comment