Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade stuff and remove generated files from repository. #270

Merged
merged 7 commits into from Sep 11, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion Base/Dockerfile
Expand Up @@ -27,7 +27,7 @@ RUN apt-get update -qqy \
# Selenium
#==========
RUN mkdir -p /opt/selenium \
&& 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
&& 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

#========================================
# Add normal user with passwordless sudo
Expand Down
2 changes: 2 additions & 0 deletions Hub/.gitignore
@@ -0,0 +1,2 @@
# The Dockerfile will be generated.
Dockerfile
27 changes: 0 additions & 27 deletions Hub/Dockerfile

This file was deleted.

1 change: 1 addition & 0 deletions Hub/Dockerfile.txt
Expand Up @@ -17,6 +17,7 @@ ENV GRID_UNREGISTER_IF_STILL_DOWN_AFTER 30000

COPY generate_config /opt/selenium/generate_config
COPY entry_point.sh /opt/bin/entry_point.sh
RUN /opt/selenium/generate_config > /opt/selenium/config.json
RUN chown -R seluser /opt/selenium

USER seluser
Expand Down
2 changes: 1 addition & 1 deletion Makefile
@@ -1,5 +1,5 @@
NAME := selenium
VERSION := $(or $(VERSION),$(VERSION),'2.53.0')
VERSION := $(or $(VERSION),$(VERSION),'2.53.1')
PLATFORM := $(shell uname -s)
BUILD_ARGS := $(BUILD_ARGS)

Expand Down
2 changes: 2 additions & 0 deletions NodeBase/.gitignore
@@ -0,0 +1,2 @@
# The Dockerfile will be generated.
Dockerfile
42 changes: 0 additions & 42 deletions NodeBase/Dockerfile

This file was deleted.

2 changes: 2 additions & 0 deletions NodeChrome/.gitignore
@@ -0,0 +1,2 @@
# The Dockerfile will be generated.
Dockerfile
51 changes: 0 additions & 51 deletions NodeChrome/Dockerfile

This file was deleted.

16 changes: 12 additions & 4 deletions NodeChrome/Dockerfile.txt
Expand Up @@ -2,21 +2,29 @@ MAINTAINER Selenium <selenium-developers@googlegroups.com>

USER root

#===============
#============================================
# Google Chrome
#===============
#============================================
# can specify versions by CHROME_VERSION;
# e.g. google-chrome-stable=53.0.2785.101-1
# google-chrome-beta=53.0.2785.92-1
# google-chrome-unstable=54.0.2840.14-1
# latest (equivalent to google-chrome-stable)
# google-chrome-beta (pull latest beta)
#============================================
ENV CHROME_VERSION "google-chrome-stable"
RUN wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - \
&& echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list \
&& apt-get update -qqy \
&& apt-get -qqy install \
google-chrome-stable \
${CHROME_VERSION:-google-chrome-stable} \
&& rm /etc/apt/sources.list.d/google-chrome.list \
&& rm -rf /var/lib/apt/lists/*

#==================
# Chrome webdriver
#==================
ENV CHROME_DRIVER_VERSION 2.21
ENV CHROME_DRIVER_VERSION 2.23
RUN wget --no-verbose -O /tmp/chromedriver_linux64.zip https://chromedriver.storage.googleapis.com/$CHROME_DRIVER_VERSION/chromedriver_linux64.zip \
&& rm -rf /opt/selenium/chromedriver \
&& unzip /tmp/chromedriver_linux64.zip -d /opt/selenium \
Expand Down
2 changes: 2 additions & 0 deletions NodeChromeDebug/.gitignore
@@ -0,0 +1,2 @@
# Dockerfile will be generated.
Dockerfile
55 changes: 0 additions & 55 deletions NodeChromeDebug/Dockerfile

This file was deleted.

2 changes: 1 addition & 1 deletion NodeChromeDebug/README.md
Expand Up @@ -38,7 +38,7 @@ If you are running Boot2Docker on Mac then you already have a [VNC client](http:
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:

``` dockerfile
FROM selenium/node-chrome-debug:2.53.0
FROM selenium/node-chrome-debug:2.53.1

RUN x11vnc -storepasswd <your-password-here> /home/seluser/.vnc/passwd
```
Expand Down
2 changes: 1 addition & 1 deletion NodeDebug/README.template.md
Expand Up @@ -38,7 +38,7 @@ If you are running Boot2Docker on Mac then you already have a [VNC client](http:
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:

``` dockerfile
FROM selenium/##BASE##-debug:2.53.0
FROM selenium/##BASE##-debug:2.53.1

RUN x11vnc -storepasswd <your-password-here> /home/seluser/.vnc/passwd
```
Expand Down
6 changes: 2 additions & 4 deletions NodeDebug/generate.sh
Expand Up @@ -4,10 +4,8 @@ BASE=$2
BROWSER=$3
VERSION=$4

rm -rf $FOLDER
mkdir -p $FOLDER

echo FROM selenium/$BASE:$VERSION > $FOLDER/Dockerfile
echo '# THIS FILE IS GENERATED: DO NOT EDIT!' > $FOLDER/Dockerfile
echo FROM selenium/$BASE:$VERSION >> $FOLDER/Dockerfile
cat ./Dockerfile.txt >> $FOLDER/Dockerfile

cat ../NodeBase/entry_point.sh \
Expand Down
2 changes: 2 additions & 0 deletions NodeFirefox/.gitignore
@@ -0,0 +1,2 @@
# The Dockerfile will be generated.
Dockerfile
26 changes: 0 additions & 26 deletions NodeFirefox/Dockerfile

This file was deleted.

2 changes: 1 addition & 1 deletion NodeFirefox/Dockerfile.txt
Expand Up @@ -5,7 +5,7 @@ USER root
#=========
# Firefox
#=========
ENV FIREFOX_VERSION 45.0.2
ENV FIREFOX_VERSION 47.0.1
RUN apt-get update -qqy \
&& apt-get -qqy --no-install-recommends install firefox \
&& rm -rf /var/lib/apt/lists/* \
Expand Down
2 changes: 2 additions & 0 deletions NodeFirefoxDebug/.gitignore
@@ -0,0 +1,2 @@
# Dockerfile will be generated.
Dockerfile
File renamed without changes.
2 changes: 1 addition & 1 deletion NodeFirefoxDebug/README.md
Expand Up @@ -38,7 +38,7 @@ If you are running Boot2Docker on Mac then you already have a [VNC client](http:
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:

``` dockerfile
FROM selenium/node-firefox-debug:2.53.0
FROM selenium/node-firefox-debug:2.53.1

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