提交 6cfd21ed 编写于 作者: H hjdhnx

优化了dockerfile尝试兼容arm/v7

上级 aa5b2cd5
......@@ -29,6 +29,8 @@ ADD sources.list /etc/apt/
ADD app.sh /etc/autostart/
# RUN sed -i s@/archive.ubuntu.com/@/mirrors.aliyun.com/@g /etc/apt/sources.list
# armv7安装gcc
# RUN apt-get install gcc-arm-linux-gnueabihf g++-arm-linux-gnueabihf -y
RUN chmod +x /etc/autostart/app.sh && apt-get clean && apt-get update && apt-get install -y vim
# 执行指令,换源并安装依赖 设置默认pip源
RUN pip install -i https://mirrors.cloud.tencent.com/pypi/simple --upgrade pip \
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册