Skip to content

Commit 3332125

Browse files
committed
add TZ to Base image to propegate to all. default timezone to UTC rather than US/Pacific. closes #70; fermium release
1 parent 15f0482 commit 3332125

File tree

20 files changed

+54
-62
lines changed

20 files changed

+54
-62
lines changed

Base/Dockerfile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,14 @@ RUN echo "deb http://archive.ubuntu.com/ubuntu xenial main universe\n" > /etc/a
88
&& echo "deb http://archive.ubuntu.com/ubuntu xenial-updates main universe\n" >> /etc/apt/sources.list \
99
&& echo "deb http://security.ubuntu.com/ubuntu xenial-security main universe\n" >> /etc/apt/sources.list
1010

11+
#===================
12+
# Timezone settings
13+
# Possible alternative: https://github.com/docker/docker/issues/3359#issuecomment-32150214
14+
#===================
15+
ENV TZ "UTC"
16+
RUN echo "${TZ}" > /etc/timezone \
17+
&& dpkg-reconfigure --frontend noninteractive tzdata
18+
1119
#========================
1220
# Miscellaneous packages
1321
# Includes minimal runtime used for executing non GUI Java programs

Hub/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# NOTE: DO *NOT* EDIT THIS FILE. IT IS GENERATED.
33
# PLEASE UPDATE Dockerfile.txt INSTEAD OF THIS FILE
44
# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
5-
FROM selenium/base:3.0.1-erbium
5+
FROM selenium/base:3.0.1-fermium
66
MAINTAINER Selenium <[email protected]>
77

88
#========================

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),3.0.1-erbium)
2+
VERSION := $(or $(VERSION),$(VERSION),3.0.1-fermium)
33
PLATFORM := $(shell uname -s)
44
BUILD_ARGS := $(BUILD_ARGS)
55
MAJOR := $(word 1,$(subst ., ,$(VERSION)))

NodeBase/Dockerfile

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,12 @@
22
# NOTE: DO *NOT* EDIT THIS FILE. IT IS GENERATED.
33
# PLEASE UPDATE Dockerfile.txt INSTEAD OF THIS FILE
44
# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
5-
FROM selenium/base:3.0.1-erbium
5+
FROM selenium/base:3.0.1-fermium
66
MAINTAINER Selenium <[email protected]>
77

88
ENV DEBIAN_FRONTEND noninteractive
99
ENV DEBCONF_NONINTERACTIVE_SEEN true
1010

11-
#===================
12-
# Timezone settings
13-
# Possible alternative: https://github.com/docker/docker/issues/3359#issuecomment-32150214
14-
#===================
15-
ENV TZ "US/Pacific"
16-
RUN echo "${TZ}" > /etc/timezone \
17-
&& dpkg-reconfigure --frontend noninteractive tzdata
18-
1911
#==============
2012
# VNC and Xvfb
2113
#==============

NodeBase/Dockerfile.txt

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,6 @@ MAINTAINER Selenium <[email protected]>
33
ENV DEBIAN_FRONTEND noninteractive
44
ENV DEBCONF_NONINTERACTIVE_SEEN true
55

6-
#===================
7-
# Timezone settings
8-
# Possible alternative: https://github.com/docker/docker/issues/3359#issuecomment-32150214
9-
#===================
10-
ENV TZ "US/Pacific"
11-
RUN echo "${TZ}" > /etc/timezone \
12-
&& dpkg-reconfigure --frontend noninteractive tzdata
13-
146
#==============
157
# VNC and Xvfb
168
#==============

NodeChrome/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# NOTE: DO *NOT* EDIT THIS FILE. IT IS GENERATED.
33
# PLEASE UPDATE Dockerfile.txt INSTEAD OF THIS FILE
44
# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
5-
FROM selenium/node-base:3.0.1-erbium
5+
FROM selenium/node-base:3.0.1-fermium
66
MAINTAINER Selenium <[email protected]>
77

88
USER root

NodeChromeDebug/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# NOTE: DO *NOT* EDIT THIS FILE. IT IS GENERATED.
33
# PLEASE UPDATE Dockerfile.txt INSTEAD OF THIS FILE
44
# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
5-
FROM selenium/node-chrome:3.0.1-erbium
5+
FROM selenium/node-chrome:3.0.1-fermium
66
MAINTAINER Selenium <[email protected]>
77

88
USER root

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:3.0.1-erbium
41+
FROM selenium/node-chrome-debug:3.0.1-fermium
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:3.0.1-erbium
41+
FROM selenium/##BASE##-debug:3.0.1-fermium
4242

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

NodeFirefox/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# NOTE: DO *NOT* EDIT THIS FILE. IT IS GENERATED.
33
# PLEASE UPDATE Dockerfile.txt INSTEAD OF THIS FILE
44
# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
5-
FROM selenium/node-base:3.0.1-erbium
5+
FROM selenium/node-base:3.0.1-fermium
66
MAINTAINER Selenium <[email protected]>
77

88
USER root

0 commit comments

Comments
 (0)