In this repository you will find the dockerfiles needed to create an Author, Publish and a Dispatcher.
docker build -t aem .
docker build -t publish .
docker build -t author .
docker build -t dispatcher .
docker run -it --rm --name my-maven-project -v "$(pwd)":/usr/src/workdir -w /usr/src/workdir -v "$(pwd)"/.m2:/root/.m2 maven:3.5.4-jdk-8 mvn org.apache.maven.plugins:maven-archetype-plugin:2.4:generate "-DarchetypeGroupId=com.adobe.granite.archetypes" "-DarchetypeArtifactId=aem-project-archetype" "-DarchetypeVersion=12" "-DarchetypeCatalog=https://repo.adobe.com/nexus/content/groups/public/" "-DgroupId=co.dlighthouse" "-DartifactId=aem-docker-examples" "-Dversion=0.1.0-SNAPSHOT" "-Dpackage=co.dlighthouse.aem.aemdocker" "-DappsFolderName=aem-docker-examples" "-DconfFolderName=aem-docker-examples" "-DartifactName=AEM Docker Examples" "-DcomponentGroupName=AEM Docker Examples" "-DcontentFolderName=aem-docker-examples" "-DcssId=aem-docker-examples" "-DpackageGroup=aem-docker-examples" "-DsiteName=AEM Docker Examples"
mvn org.apache.maven.plugins:maven-archetype-plugin:2.4:generate "-DarchetypeGroupId=com.adobe.granite.archetypes" "-DarchetypeArtifactId=aem-project-archetype" "-DarchetypeVersion=12" "-DarchetypeCatalog=https://repo.adobe.com/nexus/content/groups/public/" "-DgroupId=co.dlighthouse" "-DartifactId=aem-docker-examples" "-Dversion=0.1.0-SNAPSHOT" "-Dpackage=co.dlighthouse.aem.aemdocker" "-DappsFolderName=aem-docker-examples" "-DconfFolderName=aem-docker-examples" "-DartifactName=AEM Docker Examples" "-DcomponentGroupName=AEM Docker Examples" "-DcontentFolderName=aem-docker-examples" "-DcssId=aem-docker-examples" "-DpackageGroup=aem-docker-examples" "-DsiteName=AEM Docker Examples"