Name: java-build-tools-dockerfile
Owner: CloudBees
Description: Docker container with tools to build Java applications with Jenkins
Created: 2015-09-14 06:11:55.0
Updated: 2018-05-16 08:59:47.0
Pushed: 2018-04-04 17:31:35.0
Homepage: null
Size: 46
Language: Shell
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Docker image with all the commonly used tools to build Java applications on Jenkins slaves.
We have decided to bundle many tools in the same image to cover as many Java use cases as possible. In a second iteration, we plan to offer granularity in the tools installed on the image, maybe using a Dockerfile
generator.
Dockerfile
linkslatest
(latest/Dockerfile)2.2.0
(2.2.0/Dockerfile)2.1.0
(2.1.0/Dockerfile)2.0.0
(2.0.0/Dockerfile)1.0.1
(1.0.1/Dockerfile)1.0.0
(1.0.0/Dockerfile)0.0.7.1
(0.0.7.1/Dockerfile)0.0.6
(0.0.6/Dockerfile)0.0.5
(0.0.5/Dockerfile)0.0.4
(0.0.4/Dockerfile)0.0.3
(0.0.3/Dockerfile)0.0.2
(0.0.2/Dockerfile)0.0.1
(0.0.1/Dockerfile)This Docker image is intended to be used with the Jenkins Docker Pipeline Plugin.
Sample with Maven and the Jenkins Docker Pipeline Plugin and Pipeline Maven Plugin.
("docker"){
git "https://github.com/cloudbees-community/game-of-life"
docker.image("cloudbees/java-build-tools").inside {
withMaven(mavenSettingsConfig:'my-maven-settings') {
sh "mvn clean deploy"
}
}
The docker image enables Selenium tests bundling Firefox and starting selenium-server-standalone (listening on the default port 4444).
rt org.openqa.selenium.WebDriver;
rt org.openqa.selenium.remote.DesiredCapabilities;
rt org.openqa.selenium.remote.RemoteWebDriver;
river webDriver = new RemoteWebDriver(DesiredCapabilities.firefox());
river.get("http://www.python.org");
river.getTitle();
selenium import webdriver
selenium.webdriver.common.desired_capabilities import DesiredCapabilities
er = webdriver.Remote(
ommand_executor='http://127.0.0.1:4444/wd/hub',
esired_capabilities=DesiredCapabilities.FIREFOX)
er.get('http://python.org')
/usr/local/bin/cf
: 6.36.0/usr/bin/firefox
: 60/usr/bin/geckodriver
: v0.20.0/opt/jmeter/
/usr/local/bin/kubectl
: 1.10.0/usr/share/maven/
: 3.5.3/usr/bin/nodejs
: 8.11.1/usr/bin/npm
: 3.10.10/usr/local/bin/oc
: 3.9.0/opt/selenium/selenium-server-standalone.jar
: 3.11.0/usr/local/bin/cf
: 6.36.0/usr/bin/firefox
: 60/usr/bin/geckodriver
: v0.20.0/opt/jmeter/
/usr/local/bin/kubectl
: 1.10.0/usr/share/maven/
: 3.5.3/usr/bin/nodejs
: 8.11.1/usr/bin/npm
: 3.10.10/usr/local/bin/oc
: 3.9.0/opt/selenium/selenium-server-standalone.jar
: 3.11.0/usr/local/bin/cf
: 6.32.0/usr/bin/firefox
: 56/usr/bin/geckodriver
: v0.19.0/opt/jmeter/
/usr/local/bin/kubectl
: 1.8.0/usr/share/maven/
: 3.5.0/usr/bin/nodejs
: 6.11.3/usr/bin/npm
: 3.10.10/usr/local/bin/oc
: 3.6.0/opt/selenium/selenium-server-standalone.jar
: 3.6.0/usr/local/bin/cf
: 6.23.1/usr/bin/firefox
: 50.1.0/usr/bin/geckodriver
: v0.13.0/opt/jmeter/
/usr/local/bin/kubectl
: 1.5.2/usr/share/maven/
: 3.3.9/usr/bin/nodejs
: 6.9.4/usr/bin/npm
: 3.10.10/usr/local/bin/oc
: 1.3.0/opt/selenium/selenium-server-standalone.jar
: 2.53/usr/local/bin/cf
: 6.23.1/usr/bin/firefox
: Mozilla Firefox 44.0/opt/jmeter/
/usr/local/bin/kubectl
: 1.5.2/usr/share/maven/
: 3.3.9/usr/bin/nodejs
: 4.4.2/usr/bin/npm
: 2.15.0/usr/local/bin/oc
: 1.3.0/opt/selenium/selenium-server-standalone.jar
: 2.53/usr/local/bin/cf
: 6.15.0/usr/bin/firefox
: Mozilla Firefox 43.0.4/opt/jmeter/
/usr/local/bin/kubectl
: 1.2.3/usr/share/maven/
: 3.3.9/usr/bin/nodejs
: 4.4.2/usr/bin/npm
: 2.14.20/usr/local/bin/oc
: 1.2.0/opt/selenium/selenium-server-standalone.jar
: 2.53/usr/local/bin/cf
: 6.18.1/usr/bin/firefox
: Mozilla Firefox 44/opt/jmeter/
/usr/local/bin/kubectl
: 1.2.3/usr/share/maven/
: 3.3.9/usr/local/bin/oc
: 1.2.0/opt/selenium/selenium-server-standalone.jar
: 2.49.1This version has been tested with Docker 1.9.1
/usr/share/maven/
: 3.3.9/usr/bin/firefox
: Mozilla Firefox 43.0.4/opt/selenium/selenium-server-standalone.jar
: 2.48.2/usr/local/bin/cf
/usr/local/bin/oc
: 1.1.0.1/opt/jmeter/
/usr/local/bin/kubectl
: 1.1.3See the GitHub release notes.
This repository is available on github.com/cloudbees/java-build-tools-dockerfile/, and the automated build is on the Docker Hub.
If you have any problems with or questions about this image, please submit a GitHub issue.
If you have a contribution for this repository, please send a pull request.
If you want to contribute to Jenkins CI, see the Contributing to Jenkins.
The cloudbees/java-build-tools image is licensed under the Apache License, Version 2.0, and this repository is too:
right 2015 CloudBees, Inc
nsed under the Apache License, Version 2.0 (the "License");
may not use this file except in compliance with the License.
may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
ss required by applicable law or agreed to in writing, software
ributed under the License is distributed on an "AS IS" BASIS,
OUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
the License for the specific language governing permissions and
tations under the License.