Giter VIP home page Giter VIP logo

docker-bamboo-agent-rich's Introduction

This is Docker image of a remote agent for Atlassian Bamboo, customized for building Java, Gradle and SWT-based applications.

It is not based on Atlassian image - instead it is built from bare CentOS 7 image.

Components

This image is based on latest CentOS 7 image from official Docker repository with additional applications installed:

  • version control systems:
  • CVS (/bin/cvs),
  • SVN (/bin/svn),
  • Git (/bin/git),
  • Hg (/bin/hg),
  • JDKs:
  • OpenJDK 1.7 (/usr/lib/jvm/java-1.7.0-openjdk),
  • OpenJDK 1.8 (/usr/lib/jvm/java-1.8.0-openjdk),
  • build systems:
  • Ant (/usr/share/ant),
  • Maven 3 (/usr/share/maven),
  • Gradle 2.3 (/opt/gradle-2.3),
  • miscellaneous:
  • unzip,
  • wget,
  • Xvfb (started during container initialization).

Apart from Gradle, all software is installed from CentOS repositories.

Gradle is installed using binary package available on the official website.

Usage

Create Docker container and pass URL to your Bamboo installation using BAMBOO_SERVER environment variable:

docker run -d --name="bamboo-agent1" -e BAMBOO_SERVER=http://bamboo.domain.local jacekkow/bamboo-agent-rich

Remember to approve access for a new remote agent in Bamboo administration console if "Remote Agent Authentication" is enabled. See https://confluence.atlassian.com/display/BAMBOO/Agent+authentication for more information.

Internals

On first run agent JAR is downloaded from URL:

${BAMBOO_SERVER}/agentServer/agentInstaller/atlassian-bamboo-agent-installer.jar

Then Xvfb is started in background. Whenever it fails, it is automatically restarted. Logs are written to file /tmp/Xvfb.log

Finally JAR downloaded in step 1 is started using default JVM (OpenJDK 1.7).

docker-bamboo-agent-rich's People

Contributors

jacekkow 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.