Skip to content
This repository was archived by the owner on Jun 30, 2021. It is now read-only.

Commit b0925b8

Browse files
committed
Completely drop Oracle Java
I never had problems with OpenJDK, so just keep using that.
1 parent 163e11a commit b0925b8

File tree

1 file changed

+0
-29
lines changed

1 file changed

+0
-29
lines changed

Dockerfile

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -162,33 +162,6 @@ RUN apt -qqy update \
162162
&& rm -rf /var/lib/apt/lists/* \
163163
&& apt -qyy clean
164164

165-
#==================
166-
# Java8 - Oracle
167-
#==================
168-
# Regarding urandom see
169-
# http://stackoverflow.com/q/26021181/511069
170-
# https://github.com/SeleniumHQ/docker-selenium/issues/14#issuecomment-67414070
171-
# RUN apt -qqy update \
172-
# && apt -qqy --no-install-recommends install \
173-
# software-properties-common \
174-
# && echo debconf shared/accepted-oracle-license-v1-1 \
175-
# select true | debconf-set-selections \
176-
# && echo debconf shared/accepted-oracle-license-v1-1 \
177-
# seen true | debconf-set-selections \
178-
# && add-apt-repository ppa:webupd8team/java \
179-
# && apt -qqy update \
180-
# && apt -qqy install \
181-
# oracle-java8-installer \
182-
# && sed -i 's/securerandom.source=file:\/dev\/urandom/securerandom.source=file:\/dev\/.\/urandom/g' \
183-
# /usr/lib/jvm/java-8-oracle/jre/lib/security/java.security \
184-
# && sed -i 's/securerandom.source=file:\/dev\/random/securerandom.source=file:\/dev\/.\/urandom/g' \
185-
# /usr/lib/jvm/java-8-oracle/jre/lib/security/java.security \
186-
# && apt -qqy install \
187-
# oracle-java8-set-default \
188-
# && apt -qyy autoremove \
189-
# && rm -rf /var/lib/apt/lists/* \
190-
# && apt -qyy clean
191-
192165
#==============================================
193166
# Java blocks until kernel have enough entropy
194167
# to generate the /dev/random seed
@@ -259,8 +232,6 @@ USER root
259232
#=========================================================
260233
# Python3 for Supervisor, selenium tests, and other stuff
261234
#=========================================================
262-
# Note Python2 comes already installed with Oracle Java
263-
# so better stick to it to avoid occupying more disk space
264235
# Note Python3 fails installing mozInstall==1.12 with
265236
# NameError: name 'file' is not defined
266237
# After install, make some useful symlinks that are expected to exist

0 commit comments

Comments
 (0)