Author: mshuler
Date: Wed Mar 13 02:06:53 2019
New Revision: 1855364

URL: http://svn.apache.org/viewvc?rev=1855364&view=rev
Log:
s/oracle-java8-installer/openjdk-8-jdk/

We should not be installing unauthenticated packages..
The webupd8 PPA is notorious for leaving installation broken for
long periods of time, whenever Oracle decides to make changes to
downloads, as well as when JDK releases occur.

Modified:
    cassandra/site/Dockerfile

Modified: cassandra/site/Dockerfile
URL: 
http://svn.apache.org/viewvc/cassandra/site/Dockerfile?rev=1855364&r1=1855363&r2=1855364&view=diff
==============================================================================
--- cassandra/site/Dockerfile (original)
+++ cassandra/site/Dockerfile Wed Mar 13 02:06:53 2019
@@ -1,20 +1,10 @@
 FROM debian:latest
 
-# Install Java
-RUN echo oracle-java8-installer shared/accepted-oracle-license-v1-1 select 
true | debconf-set-selections && \
-    apt-get update && \
-    apt-get install -y \
-        software-properties-common \
-        gpg && \
-    add-apt-repository -y ppa:webupd8team/java && \
-    apt-get update && \
-    apt-get install -y --allow-unauthenticated oracle-java8-installer && \
-    rm -rf /var/lib/apt/lists/* && \
-    rm -rf /var/cache/oracle-jdk8-installer
-
-# Install other tools
+# Install tools
 RUN apt-get update && \
     apt-get install -y \
+        openjdk-8-jdk \
+        procps \
         git \
         python2.7 \
         python-pip \



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to