@@ -224,24 +224,9 @@ RUN apt-get -qqy update \
224224USER seluser
225225WORKDIR /home/seluser
226226
227- # ========================
228- # Selenium 2 (deprecated)
229- # ========================
230- # Layer size: medium: 21.23 MB
231- ENV SEL_MAJOR_VER="2.53" \
232- SEL_PATCH_LEVEL_VER="1"
233- ENV SEL_VER="${SEL_MAJOR_VER}.${SEL_PATCH_LEVEL_VER}"
234- RUN export SELBASE="https://selenium-release.storage.googleapis.com" \
235- && export SELPATH="${SEL_MAJOR_VER}/selenium-server-standalone-${SEL_VER}.jar" \
236- && wget -nv ${SELBASE}/${SELPATH} \
237- && ln -s "selenium-server-standalone-${SEL_VER}.jar" \
238- "selenium-server-standalone-2.jar" \
239- && ln -s "selenium-server-standalone-${SEL_VER}.jar" \
240- "selenium-server-standalone.jar"
241-
242- # ============
243- # Selenium 3
244- # ============
227+ # =================
228+ # Selenium latest
229+ # =================
245230# Layer size: medium ~22 MB
246231ENV SEL_DIRECTORY="3.3" \
247232 SEL_VER="3.3.1"
@@ -572,20 +557,6 @@ RUN wget -nv "${FF_URL}" -O "firefox.tar.bz2" \
572557 && mv firefox firefox-for-sel-3 \
573558 && sudo ln -fs /home/seluser/firefox-for-sel-3/firefox /usr/bin/firefox
574559
575- # --- Stable for Selenium 2
576- # Layer size: big: 107 MB
577- ENV FF_VER="47.0.1"
578- ENV FF_COMP="firefox-${FF_VER}.tar.bz2"
579- ENV FF_URL="${FF_BASE_URL}/${FF_INNER_PATH}/${FF_VER}/${FF_PLATFORM}/${FF_LANG}/${FF_COMP}"
580- RUN wget -nv "${FF_URL}" -O "firefox.tar.bz2" \
581- && bzip2 -d "firefox.tar.bz2" \
582- && tar xf "firefox.tar" \
583- && rm "firefox.tar" \
584- && mv firefox firefox-for-sel-2 \
585- && sudo ln -fs /home/seluser/firefox-for-sel-2/firefox /usr/bin/firefox
586-
587- LABEL selenium2_firefox_version "47.0.1"
588- LABEL selenium3_firefox_version "52.0.2"
589560LABEL selenium_firefox_version "52.0.2"
590561
591562# =============================
@@ -616,8 +587,6 @@ ENV CHROME_VERSION_TRIGGER="58.0.3029.110" \
616587 CHROME_BASE_DEB_PATH="/home/seluser/chrome-deb/google-chrome" \
617588 GREP_ONLY_NUMS_VER="[0-9.]{2,20}"
618589
619- LABEL selenium2_chrome_version "58.0.3029.110"
620- LABEL selenium3_chrome_version "58.0.3029.110"
621590LABEL selenium_chrome_version "58.0.3029.110"
622591
623592# Layer size: huge: 196.3 MB
@@ -688,8 +657,6 @@ ENV DEFAULT_SELENIUM_HUB_PORT="24444" \
688657
689658# Commented for now; all these versions are still available at
690659# https://github.com/elgalu/docker-selenium/releases/tag/2.47.1m
691- # USE_SELENIUM "2" / "3"
692- # Selenium 2 or 3
693660# CHROME_FLAVOR "stable"
694661# Default chrome flavor, options no longer available: beta|unstable
695662# PICK_ALL_RANDOM_PORTS "true" / "false"
0 commit comments