Skip to content

Commit

Permalink
remove chrome driver
Browse files Browse the repository at this point in the history
  • Loading branch information
barretthugh committed Jan 15, 2019
1 parent d72a8da commit 91427ea
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions docker/qa-base/Dockerfile
Expand Up @@ -9,20 +9,12 @@ COPY requirements.txt /requirements.txt
# COPY source.list /etc/apt/sources.list

RUN apt-get update \
&& apt-get install -y apt-utils wget locales unzip \
&& apt-get install -y apt-utils locales \
&& locale-gen zh_CN.UTF-8 \
&& localedef -i zh_CN -c -f UTF-8 -A /usr/share/locale/locale.alias zh_CN.UTF-8 \
&& echo "LANG=zh_CN.UTF-8" > /etc/locale.conf \
&& echo "zh_CN.UTF-8 UTF-8" >> /etc/locale.gen \
&& echo "LC_ALL=zh_CN.UTF-8" >> /etc/environment \
&& curl https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb -o /chrome.deb \
&& dpkg -i /chrome.deb || apt-get install -yf \
&& rm /chrome.deb \
&& curl https://chromedriver.storage.googleapis.com/2.44/chromedriver_linux64.zip -o /usr/local/bin/chromedriver.zip \
&& unzip /usr/local/bin/chromedriver.zip \
&& mv /chromedriver /usr/local/bin/ \
&& rm /usr/local/bin/chromedriver.zip \
&& chmod +x /usr/local/bin/chromedriver \
&& git clone https://github.com/QUANTAXIS/QUANTAXIS \
&& cd QUANTAXIS \
&& pip install -r /QUANTAXIS/requirements.txt \
Expand Down

0 comments on commit 91427ea

Please sign in to comment.