Skip to content

Commit

Permalink
Don't set args and update docs for buildx
Browse files Browse the repository at this point in the history
  • Loading branch information
bdhoine committed Dec 11, 2024
1 parent 75c34a1 commit f763de6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
FROM azul/zulu-openjdk:11-jre-headless

ARG TARGETOS=linux
ARG TARGETARCH=amd64
ARG TARGETOS
ARG TARGETARCH

ARG AEMC_VERSION=2.0.3
ARG RUNMODE=author
ARG PORT=4502

ENV RUNMODE=${RUNMODE}
ENV PORT=${PORT}
ENV AEM_VENDOR_JAVA_HOME_DIR=$JAVA_HOME
ENV AEM_VENDOR_JAVA_HOME_DIR=${JAVA_HOME}

EXPOSE ${PORT}

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ mv ~/Downloads/aem-sdk-*.zip aem-sdk-artifacts/
Afterward you can build the image, by default and author is built.

```shell
docker build . -t aem-sdk:author
docker buildx . -t aem-sdk:author
```

And run the image
Expand All @@ -49,7 +49,7 @@ docker run -p 4502:4502 -p 5005:14502 aem-sdk:author
To build the publish image, you need to specify the correct build arguments.

```shell
docker build \
docker buildx \
--build-arg RUNMODE=publish \
--build-arg PORT=4503 \
. -t aem-sdk:publish
Expand Down

0 comments on commit f763de6

Please sign in to comment.