Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.

AEM SDK and JDK11 | AEM Community Blog Seeding

Avatar

Administrator

BlogImage.jpg

AEM SDK and JDK11 by AEM.Design - Max Barrass

Abstract

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 DockerPermalink
To start author AEM 6.5.5.0 with JDK11 run the following:


docker run --name author655 -e "TZ=Australia/Sydney" -e "AEM_RUNMODE=-Dsling.run.modes=author,crx3,crx3tar,forms,localdev" -e "AEM_JVM_OPTS=-server -Xms248m -Xmx1524m -XX:MaxDirectMemorySize=256M -XX:+CMSClassUnloadingEnabled -Djava.awt.headless=true -Dorg.apache.felix.http.host=0.0.0.0 -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/sun.net.www.protocol.jrt=ALL-UNNAMED --add-opens=java.naming/javax.naming.spi=ALL-UNNAMED --add-opens=java.xml/com.sun.org.apache.xerces.internal.dom=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/jdk.internal.loader=ALL-UNNAMED --add-opens=java.base/java.net=ALL-UNNAMED -Dnashorn.args=--no-deprecation-warning" -p4502:8080 -p30303:58242 -d aemdesign/aem:6.5.5.0-jdk11
To start author AEM SDK version 2021.3.4997 run the following:


docker run --name author202134997 -e "TZ=Australia/Sydney" -e "AEM_RUNMODE=-Dsling.run.modes=author,crx3,crx3tar,forms,localdev" -e "AEM_JVM_OPTS=-server -Xms248m -Xmx1524m -XX:MaxDirectMemorySize=256M -XX:+CMSClassUnloadingEnabled -Djava.awt.headless=true -Dorg.apache.felix.http.host=0.0.0.0 -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/sun.net.www.protocol.jrt=ALL-UNNAMED --add-opens=java.naming/javax.naming.spi=ALL-UNNAMED --add-opens=java.xml/com.sun.org.apache.xerces.internal.dom=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/jdk.internal.loader=ALL-UNNAMED --add-opens=java.base/java.net=ALL-UNNAMED -Dnashorn.args=--no-deprecation-warning" -p4502:8080 -p30303:58242 -d aemdesign/aem:sdk-2021.3.4997
To make all this possible following Docker image chain has been updated:

aemdesign/aem:jdk11 - AEM Quickstart content
aemdesign/aem-base:jdk11 - AEM linux dependencies
aemdesign/java-ffmpeg:jdk11 - provides ImageMagic and FFMpeg libraries
aemdesign/oracle-jdk:jdk11 - provides a an oracle jdk
aemdesign/centos-tini:centos8 - provides a base for all java apps
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.

Read Full Blog

AEM SDK and JDK11

Q&A

Please use this thread to ask the related questions.



Kautuk Sahni
Topics

Topics help categorize Community content and increase your ability to discover relevant content.

0 Replies