Skip to content
This repository has been archived by the owner on Jan 18, 2019. It is now read-only.

Commit

Permalink
Fixed versions for release 1.601
Browse files Browse the repository at this point in the history
  • Loading branch information
Steffen Bleul committed Mar 13, 2015
1 parent 6b04937 commit c34ed31
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 48 deletions.
43 changes: 0 additions & 43 deletions 1.601/Dockerfile

This file was deleted.

10 changes: 5 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM centos:latest
FROM centos:7
MAINTAINER Steffen Bleul <blacklabelops@itbleul.de>

# install dev tools
Expand All @@ -10,20 +10,20 @@ RUN yum install -y \
yum clean all && rm -rf /var/cache/yum/*

# install java
ENV JAVA_VERSION=1.8.0_31
ENV JAVA_TARBALL=server-jre-8u31-linux-x64.tar.gz
ENV JAVA_VERSION=1.8.0_40
ENV JAVA_TARBALL=server-jre-8u40-linux-x64.tar.gz
ENV JAVA_HOME=/opt/java/jdk${JAVA_VERSION}

RUN wget --no-check-certificate --directory-prefix=/tmp \
--header "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2F; oraclelicense=accept-securebackup-cookie" \
http://download.oracle.com/otn-pub/java/jdk/8u31-b13/${JAVA_TARBALL} && \
http://download.oracle.com/otn-pub/java/jdk/8u40-b26/${JAVA_TARBALL} && \
mkdir -p /opt/java && \
tar -xzf /tmp/${JAVA_TARBALL} -C /opt/java/ && \
alternatives --install /usr/bin/java java /opt/java/jdk${JAVA_VERSION}/bin/java 100 && \
rm -rf /tmp/* && rm -rf /var/log/*

# install jenkins
ENV JENKINS_VERSION=latest
ENV JENKINS_VERSION=1.601
ENV JENKINS_HOME=/jenkins

RUN mkdir -p /opt/jenkins && \
Expand Down

0 comments on commit c34ed31

Please sign in to comment.