Skip to content

Commit

Permalink
[sonic-slave]: install openjdk-8 for jenkins slave (#3037)
Browse files Browse the repository at this point in the history
Signed-off-by: Guohan Lu <gulv@microsoft.com>
  • Loading branch information
lguohan authored Jun 19, 2019
1 parent 8a08595 commit 4bfc9ef
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions sonic-slave/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -321,3 +321,8 @@ RUN add-apt-repository \
RUN apt-get update
RUN apt-get install -y docker-ce=17.03.2~ce-0~debian-jessie
RUN echo "DOCKER_OPTS=\"--experimental --storage-driver=vfs\"" >> /etc/default/docker

# For jenkins slave
RUN echo "deb http://archive.debian.org/debian jessie-backports main" >> /etc/apt/sources.list
RUN apt-get -o Acquire::Check-Valid-Until=false update
RUN apt-get -y -o Acquire::Check-Valid-Until=false install ca-certificates-java=20161107~bpo8+1 openjdk-8-jdk

0 comments on commit 4bfc9ef

Please sign in to comment.