Last active
January 5, 2017 12:04
-
-
Save muhammaddadu/6f8e0359d209bfecf69aaca6afd44659 to your computer and use it in GitHub Desktop.
Dockerfile for AEM 6.1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Instructions
AEM_6.1_Quickstart
files from Adobe.docker build --tag="aem/author:6.1" .
docker run -d aem/author:6.1