Update Dockerfile
This commit is contained in:
parent
3189359b81
commit
368523135a
|
@ -11,12 +11,8 @@ RUN set -x \
|
||||||
&& apt install -y \
|
&& apt install -y \
|
||||||
wfrench \
|
wfrench \
|
||||||
git \
|
git \
|
||||||
|
|
||||||
&& git clone https://github.com/piair338/MsRewards \
|
&& git clone https://github.com/piair338/MsRewards \
|
||||||
&& pip install -r MsRewards/requirements.txt \
|
&& pip install -r MsRewards/requirements.txt \
|
||||||
|
|
||||||
# Add working FireFox
|
|
||||||
|
|
||||||
&& apt install -y \
|
&& apt install -y \
|
||||||
libx11-xcb1 \
|
libx11-xcb1 \
|
||||||
libdbus-glib-1-2 \
|
libdbus-glib-1-2 \
|
||||||
|
@ -25,9 +21,6 @@ RUN set -x \
|
||||||
&& mv firefox /opt/ \
|
&& mv firefox /opt/ \
|
||||||
&& chmod 755 /opt/firefox \
|
&& chmod 755 /opt/firefox \
|
||||||
&& chmod 755 /opt/firefox/firefox \
|
&& chmod 755 /opt/firefox/firefox \
|
||||||
|
|
||||||
# Add geckodriver
|
|
||||||
|
|
||||||
&& curl -sSLO https://github.com/mozilla/geckodriver/releases/download/${GECKODRIVER_VER}/geckodriver-${GECKODRIVER_VER}-linux64.tar.gz \
|
&& curl -sSLO https://github.com/mozilla/geckodriver/releases/download/${GECKODRIVER_VER}/geckodriver-${GECKODRIVER_VER}-linux64.tar.gz \
|
||||||
&& tar zxf geckodriver-*.tar.gz \
|
&& tar zxf geckodriver-*.tar.gz \
|
||||||
&& mv geckodriver /usr/bin/
|
&& mv geckodriver /usr/bin/
|
||||||
|
|
Loading…
Reference in New Issue