Skip to content

Docker Image to run Atlassian SDK Commands from Docker Image

License

Notifications You must be signed in to change notification settings

limanartem/docker-atlassian-sdk

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-atlassian-sdk

‼️ Deprecated and Discontinued ‼️

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.

About

Docker Image to run Atlassian SDK Commands from Docker Image

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Dockerfile 76.3%
  • Shell 23.7%