version 0.0.5

This commit is contained in:
Cyrille Le Clerc 2015-11-17 18:46:55 +01:00
parent d5c275a82c
commit 713194ceed
2 changed files with 6 additions and 6 deletions

View File

@ -1,8 +1,8 @@
FROM cloudbees/java-build-tools
FROM cloudbees/java-build-tools:0.0.5
USER root
RUN curl --create-dirs -sSLo /usr/share/jenkins/slave.jar http://repo.jenkins-ci.org/public/org/jenkins-ci/main/remoting/2.52/remoting-2.52.jar \
RUN curl --create-dirs -sSLo /usr/share/jenkins/slave.jar http://repo.jenkins-ci.org/public/org/jenkins-ci/main/remoting/2.53/remoting-2.53.jar \
&& chmod 755 /usr/share/jenkins \
&& chmod 644 /usr/share/jenkins/slave.jar
@ -13,4 +13,3 @@ WORKDIR /home/jenkins
USER jenkins
ENTRYPOINT ["/opt/bin/entry_point.sh", "/usr/local/bin/jenkins-slave"]

View File

@ -7,11 +7,12 @@ See [README](https://hub.docker.com/r/cloudbees/java-build-tools/) for details o
# Supported tags and respective `Dockerfile` links
- [`latest` (*latest/Dockerfile*)](https://github.com/cloudbees/jnlp-slave-with-java-build-tools-dockerfile/blob/master/Dockerfile)
- [`0.0.5` (*0.0.5/Dockerfile*)](https://github.com/cloudbees/jnlp-slave-with-java-build-tools-dockerfile/blob/0.0.5/Dockerfile)
- [`0.0.2` (*0.0.2/Dockerfile*)](https://github.com/cloudbees/jnlp-slave-with-java-build-tools-dockerfile/blob/0.0.2/Dockerfile)
# How to use this Docker image
This Docker image is intended to be used in conjunction with a Docker container orchestration service such as
This Docker image is intended to be used in conjunction with a Docker container orchestration service such as
- Kubernetes (see [Jenkins Kubernetes Plugin](https://wiki.jenkins-ci.org/display/JENKINS/Kubernetes+Plugin))
- Mesos (see [Jenkins Mesos Plugin](https://wiki.jenkins-ci.org/display/JENKINS/Mesos+Plugin))
- Amazon EC2 Container Service
@ -22,7 +23,7 @@ It can also be used "static" Jenkins slave connected to a Jenkins master declari
To run a Docker container
docker run jenkinsci/jnlp-slave -url http://jenkins-server:port <secret> <slave name>
docker run cloudbees/jnlp-slave-with-java-build-tools -url http://jenkins-server:port <secret> <slave name>
optional environment variables:
@ -79,4 +80,4 @@ 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.
```
```