From 91427ea77e0805d0443f77f7588019b1eb22d8d0 Mon Sep 17 00:00:00 2001 From: barretthugh Date: Tue, 15 Jan 2019 14:58:34 +0800 Subject: [PATCH] remove chrome driver --- docker/qa-base/Dockerfile | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/docker/qa-base/Dockerfile b/docker/qa-base/Dockerfile index 4535f467a..86c067cee 100644 --- a/docker/qa-base/Dockerfile +++ b/docker/qa-base/Dockerfile @@ -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 \