Skip to content

Commit 1587037

Browse files
authored
Merge pull request #270 from SeleniumHQ/maint/upgrade-everything
Upgrade stuff and remove generated files from repository.
2 parents 19f1935 + 0bae0d6 commit 1587037

39 files changed

+90
-481
lines changed

Base/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ RUN apt-get update -qqy \
2727
# Selenium
2828
#==========
2929
RUN mkdir -p /opt/selenium \
30-
&& wget --no-verbose https://selenium-release.storage.googleapis.com/2.53/selenium-server-standalone-2.53.0.jar -O /opt/selenium/selenium-server-standalone.jar
30+
&& wget --no-verbose https://selenium-release.storage.googleapis.com/2.53/selenium-server-standalone-2.53.1.jar -O /opt/selenium/selenium-server-standalone.jar
3131

3232
#========================================
3333
# Add normal user with passwordless sudo

Hub/.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# The Dockerfile will be generated.
2+
Dockerfile

Hub/Dockerfile

Lines changed: 0 additions & 27 deletions
This file was deleted.

Hub/Dockerfile.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ ENV GRID_UNREGISTER_IF_STILL_DOWN_AFTER 30000
1717

1818
COPY generate_config /opt/selenium/generate_config
1919
COPY entry_point.sh /opt/bin/entry_point.sh
20+
RUN /opt/selenium/generate_config > /opt/selenium/config.json
2021
RUN chown -R seluser /opt/selenium
2122

2223
USER seluser

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
NAME := selenium
2-
VERSION := $(or $(VERSION),$(VERSION),'2.53.0')
2+
VERSION := $(or $(VERSION),$(VERSION),'2.53.1')
33
PLATFORM := $(shell uname -s)
44
BUILD_ARGS := $(BUILD_ARGS)
55

NodeBase/.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# The Dockerfile will be generated.
2+
Dockerfile

NodeBase/Dockerfile

Lines changed: 0 additions & 42 deletions
This file was deleted.

NodeChrome/.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# The Dockerfile will be generated.
2+
Dockerfile

NodeChrome/Dockerfile

Lines changed: 0 additions & 51 deletions
This file was deleted.

NodeChrome/Dockerfile.txt

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,29 @@ MAINTAINER Selenium <[email protected]>
22

33
USER root
44

5-
#===============
5+
#============================================
66
# Google Chrome
7-
#===============
7+
#============================================
8+
# can specify versions by CHROME_VERSION;
9+
# e.g. google-chrome-stable=53.0.2785.101-1
10+
# google-chrome-beta=53.0.2785.92-1
11+
# google-chrome-unstable=54.0.2840.14-1
12+
# latest (equivalent to google-chrome-stable)
13+
# google-chrome-beta (pull latest beta)
14+
#============================================
15+
ENV CHROME_VERSION "google-chrome-stable"
816
RUN wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - \
917
&& echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list \
1018
&& apt-get update -qqy \
1119
&& apt-get -qqy install \
12-
google-chrome-stable \
20+
${CHROME_VERSION:-google-chrome-stable} \
1321
&& rm /etc/apt/sources.list.d/google-chrome.list \
1422
&& rm -rf /var/lib/apt/lists/*
1523

1624
#==================
1725
# Chrome webdriver
1826
#==================
19-
ENV CHROME_DRIVER_VERSION 2.21
27+
ENV CHROME_DRIVER_VERSION 2.23
2028
RUN wget --no-verbose -O /tmp/chromedriver_linux64.zip https://chromedriver.storage.googleapis.com/$CHROME_DRIVER_VERSION/chromedriver_linux64.zip \
2129
&& rm -rf /opt/selenium/chromedriver \
2230
&& unzip /tmp/chromedriver_linux64.zip -d /opt/selenium \

NodeChromeDebug/.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Dockerfile will be generated.
2+
Dockerfile

NodeChromeDebug/Dockerfile

Lines changed: 0 additions & 55 deletions
This file was deleted.

NodeChromeDebug/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ If you are running Boot2Docker on Mac then you already have a [VNC client](http:
3838
When you are prompted for the password it is __secret__. If you wish to change this then you should either change it in the `/NodeBase/Dockerfile` and build the images yourself, or you can define a docker image that derives from the posted ones which reconfigures it:
3939

4040
``` dockerfile
41-
FROM selenium/node-chrome-debug:2.53.0
41+
FROM selenium/node-chrome-debug:2.53.1
4242

4343
RUN x11vnc -storepasswd <your-password-here> /home/seluser/.vnc/passwd
4444
```

NodeDebug/README.template.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ If you are running Boot2Docker on Mac then you already have a [VNC client](http:
3838
When you are prompted for the password it is __secret__. If you wish to change this then you should either change it in the `/NodeBase/Dockerfile` and build the images yourself, or you can define a docker image that derives from the posted ones which reconfigures it:
3939

4040
``` dockerfile
41-
FROM selenium/##BASE##-debug:2.53.0
41+
FROM selenium/##BASE##-debug:2.53.1
4242

4343
RUN x11vnc -storepasswd <your-password-here> /home/seluser/.vnc/passwd
4444
```

NodeDebug/generate.sh

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,8 @@ BASE=$2
44
BROWSER=$3
55
VERSION=$4
66

7-
rm -rf $FOLDER
8-
mkdir -p $FOLDER
9-
10-
echo FROM selenium/$BASE:$VERSION > $FOLDER/Dockerfile
7+
echo '# THIS FILE IS GENERATED: DO NOT EDIT!' > $FOLDER/Dockerfile
8+
echo FROM selenium/$BASE:$VERSION >> $FOLDER/Dockerfile
119
cat ./Dockerfile.txt >> $FOLDER/Dockerfile
1210

1311
cat ../NodeBase/entry_point.sh \

NodeFirefox/.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# The Dockerfile will be generated.
2+
Dockerfile

NodeFirefox/Dockerfile

Lines changed: 0 additions & 26 deletions
This file was deleted.

NodeFirefox/Dockerfile.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ USER root
55
#=========
66
# Firefox
77
#=========
8-
ENV FIREFOX_VERSION 45.0.2
8+
ENV FIREFOX_VERSION 47.0.1
99
RUN apt-get update -qqy \
1010
&& apt-get -qqy --no-install-recommends install firefox \
1111
&& rm -rf /var/lib/apt/lists/* \

NodeFirefoxDebug/.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Dockerfile will be generated.
2+
Dockerfile
File renamed without changes.

NodeFirefoxDebug/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ If you are running Boot2Docker on Mac then you already have a [VNC client](http:
3838
When you are prompted for the password it is __secret__. If you wish to change this then you should either change it in the `/NodeBase/Dockerfile` and build the images yourself, or you can define a docker image that derives from the posted ones which reconfigures it:
3939

4040
``` dockerfile
41-
FROM selenium/node-firefox-debug:2.53.0
41+
FROM selenium/node-firefox-debug:2.53.1
4242

4343
RUN x11vnc -storepasswd <your-password-here> /home/seluser/.vnc/passwd
4444
```

0 commit comments

Comments
 (0)