Skip to content

Instantly share code, notes, and snippets.

@muhammaddadu
Last active January 5, 2017 12:04
Show Gist options
  • Save muhammaddadu/6f8e0359d209bfecf69aaca6afd44659 to your computer and use it in GitHub Desktop.
Save muhammaddadu/6f8e0359d209bfecf69aaca6afd44659 to your computer and use it in GitHub Desktop.
Dockerfile for AEM 6.1
FROM java:7
RUN mkdir /opt/aem/
WORKDIR /opt/aem/
EXPOSE 4502
ADD ./AEM_6.1_Quickstart.jar /opt/aem/AEM_6.1_Quickstart.jar
ADD ./license.properties /opt/aem/license.properties
RUN java -jar AEM_6.1_Quickstart.jar -unpack -v
ENV CQ_HOST <YOUR_SERVER_NAME>
ENV CQ_FOREGROUND y
ENV CQ_VERBOSE y
ENV CQ_NOBROWSER y
ENV CQ_RUNMODE "dev,author,samplecontent"
ENV CQ_JVM_OPTS "-server -Xmx1524M -Xms1024M -XX:MaxPermSize=1024M"
CMD crx-quickstart/bin/start
@muhammaddadu
Copy link
Author

muhammaddadu commented Jan 5, 2017

Instructions

  • Download the AEM_6.1_Quickstart files from Adobe.
  • Download this file and place in the same directory as downloads
  • docker build --tag="aem/author:6.1" .
  • docker run -d aem/author:6.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment