Update Dockerfile
This commit is contained in:
parent
3189359b81
commit
368523135a
|
@ -11,13 +11,9 @@ 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 \
|
||||||
|
&& apt install -y \
|
||||||
# Add working FireFox
|
|
||||||
|
|
||||||
&& apt install -y \
|
|
||||||
libx11-xcb1 \
|
libx11-xcb1 \
|
||||||
libdbus-glib-1-2 \
|
libdbus-glib-1-2 \
|
||||||
&& curl -sSLO https://download-installer.cdn.mozilla.net/pub/firefox/releases/91.9.1esr/linux-x86_64/en-US/firefox-91.9.1esr.tar.bz2 \
|
&& curl -sSLO https://download-installer.cdn.mozilla.net/pub/firefox/releases/91.9.1esr/linux-x86_64/en-US/firefox-91.9.1esr.tar.bz2 \
|
||||||
|
@ -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