This script automates the creation of an AEM Forms as a Cloud Service instance.
- Docker version 20.10.7, build f0df350
- Tested against v12.22.1
- Java
- Use a supported AEM version
- Create a folder under this project called .aem
- Place the following underneath it
- license.properties file
- aem-forms-addon.far
- aem-sdk-quickstart.jar
- Make sure you have the following installed on your computer
- NodeJS
- Java
- Docker version 20.10.6+
- Load the Output image into the docker registry
- Unzip the forms add on
- Unzip the forms-addon-native
- Run
docker load < formsdocservice-native-sdk-${version}.tar.gz
- Note: To delete the image users must execute
docker image rm [image_id]
which theimage_id
can be located from thedocker images
command
- Run a
npm install
- Run
node index.js build
- Optionally you can specify the location of the AEM folder using the -p option
In order to prevent the core system keys from being overwritten at runtime it is important to follow the article documented here this will allow to have the same key with every build.