This is an automated email from the ASF dual-hosted git repository.

mmerli pushed a commit to branch master
in repository

The following commit(s) were added to refs/heads/master by this push:
     new af5c6d7  Switch to OpenJDK for CI (#85)
af5c6d7 is described below

commit af5c6d7e1f8961265a25bed90092a0d259fd5492
Author: Matteo Merli <>
AuthorDate: Sun Nov 10 11:09:23 2019 -0800

    Switch to OpenJDK for CI (#85)
 Dockerfile | 21 +--------------------
 1 file changed, 1 insertion(+), 20 deletions(-)

diff --git a/Dockerfile b/Dockerfile
index ae4b56b..9b597f9 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -21,26 +21,7 @@ FROM apachepulsar/pulsar:latest as pulsar
 FROM golang:1.12 as go
-RUN cd /
-RUN wget --no-cookies --no-check-certificate \
-    --header "Cookie:; 
-# make a new directory to store the jdk files
-RUN mkdir -p /usr/local/java
-RUN tar zxvf jdk-8u141-linux-x64.tar.gz
-RUN mv jdk1.8.0_141 /usr/local/java/
-# make a symbol link
-RUN ln -s /usr/local/java/jdk1.8.0_141 /usr/local/java/jdk
-# set environment variables
-ENV JAVA_HOME /usr/local/java/jdk
-RUN cd /go
+RUN apt-get update && apt-get install -y openjdk-11-jre-headless
 COPY --from=pulsar /pulsar /pulsar

Reply via email to