AEM author and publish docker images for AEMaaCS using the AEM SDK.
The version
should be in the original format like 2024.10.18459.20241031T210302Z-241000
.
To pull the author image
docker pull ghcr.io/orbinson/aem-sdk:author-<version>
To pull the publish image
docker pull ghcr.io/orbinson/aem-sdk:publish-<version>
First you need to get the artifacts from the private aem-sdk-artifacts repository.
git clone [email protected]:orbinson/aem-sdk-artifacts.git
git lfs pull
Or create the aem-sdk-artifacts
directory and copy the artifacts there from your Downloads folder for example.
mkdir aem-sdk-artifacts
mv ~/Downloads/aem-sdk-*.zip aem-sdk-artifacts/
Afterward you can build the image, by default and author is built.
docker buildx . -t aem-sdk:author
And run the image
docker run -p 4502:4502 -p 5005:14502 aem-sdk:author
To build the publish image, you need to specify the correct build arguments.
docker buildx \
--build-arg RUNMODE=publish \
--build-arg PORT=4503 \
. -t aem-sdk:publish
And run the image
docker run -p 4503:4503 -p 5006:14504 aem-sdk:publish