Git Product home page Git Product logo

docker-atlassian-sdk's Introduction

docker-atlassian-sdk

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

Apwide's contribution:

  • Includes xvfb + xvfb-run to execute headless selenium tests
  • Upgrade to 8.0.7 atlassian plugin sdk
  • Add UID and GID environment variables to

 

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.

docker-atlassian-sdk's People

Contributors

bengertz avatar guvial avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.