Coder Social home page Coder Social logo

java-build-tools-dockerfile's Introduction

Description

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.

Supported tags and respective Dockerfile links

How to use this Docker image

This Docker image is intended to be used with the Jenkins CloudBees Docker Custom Build Environment Plugin and the Jenkins Docker Workflow Plugin.

Version latest

  • OS: Ubuntu 16.04
  • Common tools: openssh-client, unzip, wget, curl, git
  • AWS CLI: aws-cli/1.11.41
  • Azure CLI: 0.10.8
  • Bower: 1.8.0
  • Cloud Foundry CLI (latest) at /usr/local/bin/cf: 6.23.1
  • Firefox (latest) at /usr/bin/firefox: Mozilla Firefox 50.1.0
  • Firefox Geckodriver v0.13.0 at /usr/bin/geckodriver
  • gcc (latest): 5.4.0
  • Grunt CLI: 1.2.0
  • Gulp: 3.9.1
  • Java: OpenJDK 8 (latest): 1.8.0_111
  • JMeter (3.1) located in /opt/jmeter/
  • Kubernetes CLI at /usr/local/bin/kubectl: 1.5.2
  • Make (latest): 4.1
  • Maven located in /usr/share/maven/: 3.3.9
  • MySQL Client: 5.7.17
  • Node.js at /usr/bin/nodejs: 6.9.4
  • Npm at /usr/bin/npm: 3.10.10
  • Open Shift V3 CLI at /usr/local/bin/oc: 1.3.0
  • Python/2.7.12
  • Selenium at /opt/selenium/selenium-server-standalone.jar: 2.53
  • XVFB: 2:1.18.4

Version 1.0.1

  • OS: Ubuntu 15.04
  • Common tools: openssh-client, unzip, wget, curl, git
  • AWS CLI: aws-cli/1.11.360.10.8
  • Azure CLI: 0.10.8
  • Bower: 1.8.0
  • Cloud Foundry CLI (latest) at /usr/local/bin/cf: 6.23.1
  • Firefox (latest) at /usr/bin/firefox: Mozilla Firefox 44.0
  • gcc (latest): 4.9.2-10ubuntu13
  • Grunt CLI: 1.2.0
  • Gulp: 3.9.1
  • Java: OpenJDK 8 (latest): 1.8.0_45
  • JMeter (3.1) located in /opt/jmeter/
  • Kubernetes CLI at /usr/local/bin/kubectl: 1.5.2
  • Make (latest): 4.0
  • Maven located in /usr/share/maven/: 3.3.9
  • MySQL Client: 5.6.28
  • Node.js at /usr/bin/nodejs: 4.4.2
  • Npm at /usr/bin/npm: 2.15.0
  • Open Shift V3 CLI at /usr/local/bin/oc: 1.3.0
  • Python/2.7.9
  • Selenium at /opt/selenium/selenium-server-standalone.jar: 2.53
  • Web Browser tests: XVFB (latest)

Version 1.0.0

  • OS: Ubuntu 15.04
  • Common tools: openssh-client, unzip, wget, curl, git
  • AWS CLI: aws-cli/1.10.0
  • Azure CLI: 0.10.1
  • Bower: 1.7.9
  • Cloud Foundry CLI (latest) at /usr/local/bin/cf: 6.15.0
  • Firefox (latest) at /usr/bin/firefox: Mozilla Firefox 43.0.4
  • gcc (latest): 4.9.2-10ubuntu13
  • Grunt CLI: 0.1.2
  • Gulp: 3.9.1
  • Java: OpenJDK 8 (latest): 1.8.0_45
  • JMeter (3.0) located in /opt/jmeter/
  • Kubernetes CLI at /usr/local/bin/kubectl: 1.2.3
  • Make (latest): 4.0
  • Maven located in /usr/share/maven/: 3.3.9
  • MySQL Client: 5.6.27
  • Node.js at /usr/bin/nodejs: 4.4.2
  • Npm at /usr/bin/npm: 2.14.20
  • Open Shift V3 CLI at /usr/local/bin/oc: 1.2.0
  • Selenium at /opt/selenium/selenium-server-standalone.jar: 2.53
  • Web Browser tests: XVFB (latest)

Version 0.0.7.1

  • OS: Ubuntu 15.04
  • Common tools: openssh-client, unzip, wget, curl, git
  • AWS CLI: aws-cli/1.10.35
  • Azure CLI: 0.9.14
  • Bower: 1.7.2
  • Cloud Foundry CLI (latest) at /usr/local/bin/cf: 6.18.1
  • Firefox (latest) at /usr/bin/firefox: Mozilla Firefox 44
  • gcc (latest): 4.9.2-10ubuntu13
  • Grunt CLI: 0.1.13
  • Gulp: 3.9.0
  • Java: OpenJDK 8 (latest): 1.8.0_45
  • JMeter (3.0) located in /opt/jmeter/
  • Kubernetes CLI at /usr/local/bin/kubectl: 1.2.3
  • Make (latest): 4.0
  • Maven located in /usr/share/maven/: 3.3.9
  • MySQL Client (latest): 5.6.28
  • Node.js: 4.4.2
  • Open Shift V3 CLI at /usr/local/bin/oc: 1.2.0
  • Selenium at /opt/selenium/selenium-server-standalone.jar: 2.49.1
  • Web Browser tests: XVFB (latest)

Version 0.0.6

This version has been tested with Docker 1.9.1

  • OS: Ubuntu 15.04
  • Common tools: unzip, wget, curl, git
  • Make (latest): 4.0
  • gcc (latest): 4.9.2-10ubuntu13
  • Java: OpenJDK 8 (latest): 1.8.0_45
  • Maven located in /usr/share/maven/: 3.3.9
  • Node.js: 4.2.4
  • Bower: 1.7.2
  • Grunt CLI: 0.1.13
  • Gulp: 3.9.0
  • Web Browser tests: XVFB (latest)
  • Firefox (latest) at /usr/bin/firefox: Mozilla Firefox 43.0.4
  • Selenium at /opt/selenium/selenium-server-standalone.jar: 2.48.2
  • AWS CLI: 1.9.17
  • Azure CLI: 0.9.13
  • Cloud Foundry CLI (latest) at /usr/local/bin/cf
  • Open Shift V3 CLI at /usr/local/bin/oc: 1.1.0.1
  • JMeter (2.13) located in /opt/jmeter/
  • Kubernetes CLI at /usr/local/bin/kubectl: 1.1.3
  • MySQL Client (latest): 5.6.27

Release Notes

See the GitHub release notes.

About this repository

This repository is available on github.com/cloudbees/java-build-tools-dockerfile/, and the automated build is on the Docker Hub.

User Feedback

Issues

If you have any problems with or questions about this image, please submit a GitHub issue.

Contributing

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.

License

The cloudbees/java-build-tools image is licensed under the Apache License, Version 2.0, and this repository is too:

Copyright 2015 CloudBees, Inc


Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

java-build-tools-dockerfile's People

Contributors

cyrille-leclerc avatar ndeloof avatar schottsfired avatar

java-build-tools-dockerfile's Issues

Exception with Selenium RemoteDriver: SessionNotCreatedException: Unable to create new remote session

docker run -it cleclerc/java-build-tools bash

python
from selenium import webdriver
from selenium.webdriver.common.desired_capabilities import DesiredCapabilities

driver = webdriver.Remote(
   command_executor='http://127.0.0.1:4444/wd/hub',
   desired_capabilities=DesiredCapabilities.FIREFOX)

driver.get('http://python.org')
Caused by: org.openqa.selenium.SessionNotCreatedException: Unable to create new remote session. desired capabilities = Capabilities [{marionette=true, firefoxOptions=org.openqa.selenium.firefox.FirefoxOptions@3b18878b, browserName=firefox, javascriptEnabled=true, moz:firefoxOptions=org.openqa.selenium.firefox.FirefoxOptions@3b18878b, version=, platform=ANY}], required capabilities = Capabilities [{}]
Build info: version: '3.0.1', revision: '1969d75', time: '2016-10-18 09:48:19 -0700'
System info: host: '4f3027ccce2e', ip: '172.17.0.3', os.name: 'Linux', os.arch: 'amd64', os.version: '4.4.41-moby', java.version: '1.8.0_45-internal'
Driver info: driver.version: FirefoxDriver
	at org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:91)
	at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:141)
	at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:82)
	at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:601)
	at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:241)
	at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:128)
	at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:259)
	at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:247)
	at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:242)
	at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:135)
	... 14 more
$ env
SELENIUM_VERSION=3.0.1
SCREEN_HEIGHT=1020
HOSTNAME=6c8117c08371
TERM=xterm
SCREEN_WIDTH=1360
ANT_HOME=/usr/share/ant
GEOMETRY=1360x1020x24
LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:
MAVEN_VERSION=3.3.9
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
MAVEN_HOME=/usr/share/maven
SELENIUM_MAJOR_VERSION=3.0
PWD=/
SCREEN_DEPTH=24
AZURE_CLI_VERSION=0.10.8
HOME=/home/jenkins
SHLVL=1
no_proxy=*.local, 169.254/16
LESSOPEN=| /usr/bin/lesspipe %s
ANT_VERSION=1.9.8
DISPLAY=:99.0
LESSCLOSE=/usr/bin/lesspipe %s %s
_=/usr/bin/env
ps -aux
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
jenkins     11  0.0  0.0   4472  1652 ?        S    19:06   0:00 /bin/sh /usr/bin/xvfb-run -n 99 --server-args=-screen 0 1360x1020x24 -ac +extension RANDR java -jar /opt/selenium/selenium-server-standalone.jar
jenkins     31  0.5  1.2 187328 26436 ?        Sl   19:06   0:00 Xvfb :99 -screen 0 1360x1020x24 -ac +extension RANDR -nolisten tcp -auth /tmp/xvfb-run.vcnnzl/Xauthority
jenkins     38  3.3  2.3 3431180 47404 ?       Sl   19:06   0:02 java -jar /opt/selenium/selenium-server-standalone.jar

http://selenium-python.readthedocs.io/installation.html

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.