Skip to content
This repository has been archived by the owner on Jul 30, 2018. It is now read-only.

Commit

Permalink
Merge pull request #71 from rajiesh/master
Browse files Browse the repository at this point in the history
Use OpenJDK 8
  • Loading branch information
jyotisingh authored Jan 18, 2017
2 parents 8a39e7b + 92ba259 commit 2d12da0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions phusion/agent/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ ARG GO_VERSION="16.8.0-3929"
ARG DOWNLOAD_URL="https://download.gocd.io/binaries"

RUN rm -rf /etc/service/sshd /etc/my_init.d/00_regen_ssh_host_keys.sh
RUN add-apt-repository -y ppa:openjdk-r/ppa
RUN apt-get update
RUN apt-get upgrade -y
RUN apt-get install -y -q unzip openjdk-7-jre-headless git mercurial subversion
RUN apt-get install -y -q unzip openjdk-8-jre-headless git mercurial subversion

RUN mkdir /etc/service/go-agent
ADD go-agent-start.sh /etc/service/go-agent/run
Expand Down
3 changes: 2 additions & 1 deletion phusion/server/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@ ARG GO_VERSION="16.8.0-3929"
ARG DOWNLOAD_URL="https://download.gocd.io/binaries"

RUN rm -rf /etc/service/sshd /etc/my_init.d/00_regen_ssh_host_keys.sh \
&& add-apt-repository -y ppa:openjdk-r/ppa \
&& apt-get update \
&& apt-get install -y -q unzip openjdk-7-jre-headless git mercurial subversion \
&& apt-get install -y -q unzip openjdk-8-jre-headless git mercurial subversion \
&& mkdir /etc/service/go-server

ADD go-common-scripts.sh /etc/service/go-server/go-common-scripts.sh
Expand Down

0 comments on commit 2d12da0

Please sign in to comment.