-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add temporary build for aem compose only
- Loading branch information
Showing
3 changed files
with
32 additions
and
10 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,31 @@ | ||
FROM azul/zulu-openjdk:11-jre-headless as installer | ||
|
||
ARG AEMC_VERSION=1.9.0 | ||
ARG PLATFORM=linux | ||
ARG ARCH=arm64 | ||
|
||
EXPOSE 4502 | ||
ARG AEMC_VERSION=2.0.1 | ||
ARG TARGETOS=linux | ||
ARG TARGETARCH=arm64 | ||
|
||
RUN apt-get update &&\ | ||
apt-get install -y --no-install-recommends curl | ||
|
||
RUN curl -L https://github.com/wttech/aemc/releases/download/v${AEMC_VERSION}/aemc-cli_${PLATFORM}_${ARCH}.tar.gz | tar -xz -C /usr/local/bin | ||
RUN curl -L https://github.com/wttech/aemc/releases/download/v${AEMC_VERSION}/aemc-cli_${TARGETOS}_${TARGETARCH}.tar.gz | tar -xz -C /usr/local/bin | ||
|
||
FROM azul/zulu-openjdk:11-jre-headless | ||
|
||
COPY --from=installer /usr/local/bin/aem /usr/local/bin/aem | ||
|
||
EXPOSE 4502 | ||
|
||
WORKDIR /opt | ||
|
||
COPY aem-start.sh /usr/local/bin/aem-start | ||
|
||
COPY aem-sdk-*.zip aem/home/lib/ | ||
#COPY aem-sdk-*.zip aem/home/lib/ | ||
|
||
RUN chmod +x /usr/local/bin/aem-start | ||
|
||
ENV AEM_JAVA_HOME_DIR=$JAVA_HOME | ||
ENV AEM_VENDOR_JAVA_HOME_DIR=$JAVA_HOME | ||
|
||
RUN aem instance -A launch && aem instance down | ||
#RUN aem instance -A launch && aem instance down | ||
|
||
CMD ["/usr/local/bin/aem-start"] | ||
#CMD ["/usr/local/bin/aem-start"] | ||
ENTRYPOINT ["/usr/local/bin/aem"] |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# AEM SDK | ||
|
||
Docker images with AEMaaCS SDK. | ||
|
||
## How to use | ||
|
||
### Pull the image | ||
|
||
```shell | ||
docker pull ghcr.io/orbinson/aem-sdk:main | ||
``` |