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

Commit c910069

Browse files
authored
Now really using self built jar. (#320)
1 parent 55e6c95 commit c910069

File tree

1 file changed

+13
-6
lines changed

1 file changed

+13
-6
lines changed

Dockerfile

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -268,15 +268,22 @@ RUN echo "${UBUNTU_FLAVOR}" > UBUNTU_FLAVOR \
268268
#=================
269269
# Layer size: medium ~22 MB
270270
ARG SEL_DIRECTORY="3.14"
271-
ENV SEL_VER="3.14.0"
271+
ENV SEL_VER="3.141.59"
272272

273-
RUN echo $SEL_VER
274-
RUN export SELBASE="https://selenium-release.storage.googleapis.com" \
275-
&& export SELPATH="${SEL_DIRECTORY}/selenium-server-standalone-${SEL_VER}.jar" \
276-
&& wget -nv ${SELBASE}/${SELPATH} \
277-
&& ln -s "selenium-server-standalone-${SEL_VER}.jar" \
273+
RUN wget -nv "https://github.com/dosel/selenium/releases/download/selenium-3.141.59-patch-d47e74d6f2/selenium.jar" \
274+
&& ln -s "selenium.jar" \
275+
"selenium-server-standalone-${SEL_VER}.jar" \
276+
&& ln -s "selenium.jar" \
278277
"selenium-server-standalone-3.jar"
279278

279+
# TODO: Enable this again when Selenium 4.0 is released
280+
#RUN echo $SEL_VER
281+
#RUN export SELBASE="https://selenium-release.storage.googleapis.com" \
282+
# && export SELPATH="${SEL_DIRECTORY}/selenium-server-standalone-${SEL_VER}.jar" \
283+
# && wget -nv ${SELBASE}/${SELPATH} \
284+
# && ln -s "selenium-server-standalone-${SEL_VER}.jar" \
285+
# "selenium-server-standalone-3.jar"
286+
280287
LABEL selenium_version "${SEL_VER}"
281288

282289
#=============================

0 commit comments

Comments
 (0)