Docker-Image to run Atlassian Pugin SDK Commands. Includes Oracle Java 8 JDK and glibc.
- Runs as non-root with fixed UID 10777 and GID 10777. See howto prepare volume permissions.
- See howto use SystemD for named Docker-Containers and system startup.
Assuming you have your e.g. JIRA© Plugin Source in myproject
.
You can then run atlas-package
with the following command.
cd myproject
docker run \
-i -t \
--volume $(pwd)/:/opt/atlas \
codeclou/docker-atlassian-sdk:latest \
atlas-package
## OR
docker run \
-i -t \
--volume $(pwd)/:/opt/atlas \
codeclou/docker-atlassian-sdk:sdk-6.2.14 \
atlas-package
Run a certain JIRA© Version standalone for testing. (Note: On macOS it might be very slow to use VOLUME)
docker run \
-i -t \
-p 2990:2990 \
--volume $(pwd)/:/opt/atlas \
-e MAVEN_REPOSITORY_MIRROR="http://build-local.codeclou.io:8081/artifactory/all/" \
codeclou/docker-atlassian-sdk:latest \
atlas-run-standalone --version 7.3.0 --product jira --http-port 2990 --server 0.0.0.0 \
--jvmargs -Xmx4096M -DskipAllPrompts=true
Then go to http://localhost:2990/jira/
docker run \
-i -t \
--volume $(pwd)/:/opt/atlas \
-e MAVEN_REPOSITORY_MIRROR="http://build-local.codeclou.io:8081/artifactory/all/" \
codeclou/docker-atlassian-sdk:latest \
atlas-package
You need to have a JFrog Artifactory service (or similiar) runnning with a Virtual Repository that mirrors at least the following Maven Repositories:
https://maven.atlassian.com/3rdparty/
https://maven.atlassian.com/public/
https://maven.atlassian.com/public-snapshot/
https://repo.maven.apache.org/maven2/
https://repo.spring.io/release
https://repo.spring.io/milestone
https://repo.spring.io/snapshot
https://maven.java.net/content/groups/public/
http://maven.jahia.org/maven2/
The URL to the Maven Repository Mirror is set via the MAVEN_REPOSITORY_MIRROR
ENV Variable.
- Dockerfile and Image is provided under MIT License
- Atlassian Plugin SDK might be licensed differently. Please check for yourself.
- Oracle Java JDK 8 might be licensed differently. Please check for yourself.
- Note: By using this docker image you automatically accept the License Terms of Oracle Java 8 JDK and Atlassian SDK.