[
https://issues.apache.org/jira/browse/SLING-11827?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tomasz Michalak updated SLING-11827:
------------------------------------
Description:
It would be nice to run Sling Starter Docker image with extra Java settings
(`EXTRA_JAVA_OPTS`) in the debug mode with a single command:
```
docker run -p 8080:8080 -p 5005:5005 -e JAVA_DEBUG_PORT=5005 -e
EXTRA_JAVA_OPTS='-Xms256m -Xmx2048m' apache/sling:snapshot
```
was:
In the current version (12), docker images are only built for the `amd64`
platform. I am unable to run Sling Starter on e.g. macs with M1.
I have prepared a patch with my proposal:
[https://github.com/apache/sling-org-apache-sling-starter/pull/80.]
Unfortunately, DockerHub Automated Builds still doesn't support it.
> Sling Starter JAVA_OPTS with debug mode
> ---------------------------------------
>
> Key: SLING-11827
> URL: https://issues.apache.org/jira/browse/SLING-11827
> Project: Sling
> Issue Type: Improvement
> Components: Starter
> Affects Versions: Starter 12
> Environment: Docker
> Reporter: Tomasz Michalak
> Assignee: Tomasz Michalak
> Priority: Major
> Labels: Sling-13-Release-Notes
> Fix For: Starter 13
>
>
> It would be nice to run Sling Starter Docker image with extra Java settings
> (`EXTRA_JAVA_OPTS`) in the debug mode with a single command:
> ```
> docker run -p 8080:8080 -p 5005:5005 -e JAVA_DEBUG_PORT=5005 -e
> EXTRA_JAVA_OPTS='-Xms256m -Xmx2048m' apache/sling:snapshot
> ```
--
This message was sent by Atlassian Jira
(v8.20.10#820010)