From 6cfd21ed7584ed371ab0972c43618824da55bbf9 Mon Sep 17 00:00:00 2001 From: hjdhnx Date: Mon, 5 Sep 2022 09:51:53 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=BA=86dockerfile=E5=B0=9D?= =?UTF-8?q?=E8=AF=95=E5=85=BC=E5=AE=B9arm/v7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dockerfile b/dockerfile index 55c923a..9078860 100644 --- a/dockerfile +++ b/dockerfile @@ -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 \ -- GitLab