Sign inSign up

codeclou/docker-atlassian-sdk

By codeclou

•Updated over 8 years ago

Docker Image to run Atlassian SDK Commands

Image
3

4.8K

codeclou/docker-atlassian-sdk repository overview

⁠docker-atlassian-sdk

Docker-Image to run Atlassian Pugin SDK⁠ Commands. Includes Oracle Java 8 JDK⁠ and glibc⁠.


 

⁠Prerequisites

 

⁠Usage

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/⁠


 

⁠Usage with Maven-Repository-Mirror
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.


 

⁠License, Liability & Support
  • 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.

Tag summary

Content type

Image

Digest

Size

447.6 MB

Last updated

about 9 years ago

docker pull codeclou/docker-atlassian-sdk