Skip to content

Commit 5ea6f11

Browse files
committed
Update the Dockerfile
1 parent e6077e3 commit 5ea6f11

File tree

1 file changed

+8
-12
lines changed

1 file changed

+8
-12
lines changed

Dockerfile

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# SeleniumBase Docker Image
2-
FROM ubuntu:14.04
2+
FROM ubuntu:17.10
33

44
#=======================================
55
# Install Python and Basic Python Tools
@@ -14,24 +14,18 @@ RUN apt-get -qy --no-install-recommends install \
1414
unzip \
1515
wget \
1616
curl \
17+
libxi6 \
18+
libgconf-2-4 \
1719
vim \
1820
xvfb \
1921
&& rm -rf /var/lib/apt/lists/*
2022

2123
#========================================
2224
# Add normal user with passwordless sudo
2325
#========================================
24-
RUN sudo useradd seluser --shell /bin/bash --create-home \
25-
&& sudo usermod -a -G sudo seluser \
26-
&& echo 'ALL ALL = (ALL) NOPASSWD: ALL' >> /etc/sudoers
27-
28-
#==============================
29-
# Locale and encoding settings
30-
#==============================
31-
ENV LANGUAGE en_US.UTF-8
32-
ENV LANG ${LANGUAGE}
33-
RUN locale-gen ${LANGUAGE} \
34-
&& dpkg-reconfigure --frontend noninteractive locales
26+
#RUN sudo useradd seluser --shell /bin/bash --create-home \
27+
# && sudo usermod -a -G sudo seluser \
28+
# && echo 'ALL ALL = (ALL) NOPASSWD: ALL' >> /etc/sudoers
3529

3630
#======================
3731
# Install Chromedriver
@@ -96,6 +90,8 @@ RUN exec "$@"
9690
#=====================
9791
COPY seleniumbase /SeleniumBase/seleniumbase/
9892
COPY examples /SeleniumBase/examples/
93+
COPY console_scripts /SeleniumBase/console_scripts/
94+
COPY integrations /SeleniumBase/integrations/
9995
COPY requirements.txt /SeleniumBase/requirements.txt
10096
COPY setup.py /SeleniumBase/setup.py
10197
RUN pip install --upgrade pip

0 commit comments

Comments
 (0)