1 Star 0 Fork 0

周国全/pyodide

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Dockerfile 1.32 KB
一键复制 编辑 原始数据 按行查看 历史
Roman Yurchak 提交于 2021-04-19 19:39 +08:00 . MAINT Update to selenium 4.0.0.b3 (#1422)
FROM python:3.8.2-slim-buster
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
# building packages
bzip2 ccache clang-format-6.0 cmake f2c g++ gfortran git make \
patch pkg-config swig unzip wget xz-utils \
# testing packages: libgconf-2-4 is necessary for running chromium
libgconf-2-4 "chromium=89.*" \
&& rm -rf /var/lib/apt/lists/*
RUN pip3 --no-cache-dir install \
black \
"cython<3.0" \
packaging \
flake8 \
hypothesis \
"mypy==0.812" \
pytest \
pytest-cov \
pytest-httpserver \
pytest-instafail \
pytest-rerunfailures \
pytest-xdist \
pyyaml \
"selenium==4.0.0.b3"
# Get firefox 70.0.1 and geckodriver
RUN wget -qO- https://ftp.mozilla.org/pub/firefox/releases/87.0/linux-x86_64/en-US/firefox-87.0.tar.bz2 | tar jx \
&& ln -s $PWD/firefox/firefox /usr/local/bin/firefox \
&& wget -qO- https://github.com/mozilla/geckodriver/releases/download/v0.29.1/geckodriver-v0.29.1-linux64.tar.gz | tar zxC /usr/local/bin/
# Get recent version of chromedriver
RUN wget --quiet https://chromedriver.storage.googleapis.com/89.0.4389.23/chromedriver_linux64.zip \
&& unzip chromedriver_linux64.zip \
&& mv $PWD/chromedriver /usr/local/bin \
&& rm -f chromedriver_linux64.zip
CMD ["/bin/sh"]
WORKDIR /src
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/zhou_guo_quan/pyodide.git
git@gitee.com:zhou_guo_quan/pyodide.git
zhou_guo_quan
pyodide
pyodide
0.17.X

搜索帮助