File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -73,6 +73,17 @@ RUN apt-get -qy --no-install-recommends install \
73
73
&& ln -s /opt/firefox/firefox /usr/bin/firefox \
74
74
&& rm -f /tmp/firefox-esr.tar.bz2
75
75
76
+ # ======================================
77
+ # Install Geckodriver / Firefox Driver
78
+ # ======================================
79
+ RUN export BASE_URL=https://github.com/mozilla/geckodriver/releases/download \
80
+ && export VERSION=$(curl -sL \
81
+ https://api.github.com/repos/mozilla/geckodriver/releases/latest | \
82
+ grep tag_name | cut -d '"' -f 4) \
83
+ && curl -sL \
84
+ $BASE_URL/$VERSION/geckodriver-$VERSION-linux64.tar.gz | tar -xz \
85
+ && mv geckodriver /usr/local/bin/geckodriver
86
+
76
87
# ===================
77
88
# Install PhantomJS
78
89
# ===================
@@ -98,6 +109,8 @@ COPY seleniumbase /SeleniumBase/seleniumbase/
98
109
COPY examples /SeleniumBase/examples/
99
110
COPY requirements.txt /SeleniumBase/requirements.txt
100
111
COPY setup.py /SeleniumBase/setup.py
112
+ RUN pip install --upgrade pip
113
+ RUN pip install --upgrade setuptools
101
114
RUN cd /SeleniumBase && ls && pip install -r requirements.txt
102
115
103
116
# ==========================================
You can’t perform that action at this time.
0 commit comments