1
1
# SeleniumBase Docker Image
2
- FROM ubuntu:14.04
2
+ FROM ubuntu:17.10
3
3
4
4
# =======================================
5
5
# Install Python and Basic Python Tools
@@ -14,24 +14,18 @@ RUN apt-get -qy --no-install-recommends install \
14
14
unzip \
15
15
wget \
16
16
curl \
17
+ libxi6 \
18
+ libgconf-2-4 \
17
19
vim \
18
20
xvfb \
19
21
&& rm -rf /var/lib/apt/lists/*
20
22
21
23
# ========================================
22
24
# Add normal user with passwordless sudo
23
25
# ========================================
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
35
29
36
30
# ======================
37
31
# Install Chromedriver
@@ -96,6 +90,8 @@ RUN exec "$@"
96
90
# =====================
97
91
COPY seleniumbase /SeleniumBase/seleniumbase/
98
92
COPY examples /SeleniumBase/examples/
93
+ COPY console_scripts /SeleniumBase/console_scripts/
94
+ COPY integrations /SeleniumBase/integrations/
99
95
COPY requirements.txt /SeleniumBase/requirements.txt
100
96
COPY setup.py /SeleniumBase/setup.py
101
97
RUN pip install --upgrade pip
0 commit comments