From 6ec05fd3f9838a075f82686532c7caa4548a62b1 Mon Sep 17 00:00:00 2001 From: kyqv <5160693+FacebookLibra@user.noreply.gitee.com> Date: Thu, 16 Jun 2022 03:45:10 +0000 Subject: [PATCH] =?UTF-8?q?update=20Dockerfile.=20=E9=98=BF=E9=87=8C?= =?UTF-8?q?=E9=95=9C=E5=83=8F=E6=BA=90=E9=97=AE=E9=A2=98=E6=9B=B4=E6=96=B0?= =?UTF-8?q?=20=E5=AF=BC=E8=87=B4docker=20=E6=97=A0=E6=B3=95=E5=AE=89?= =?UTF-8?q?=E8=A3=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 45a2cbe..d24249f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,9 +1,7 @@ FROM python:3.7-alpine -RUN echo http://mirrors.aliyun.com/alpine/v3.12/main > /etc/apk/repositories \ - && echo http://mirrors.aliyun.com/alpine/v3.12/community >> /etc/apk/repositories \ - && apk update \ +RUN apk update \ && apk --update add --no-cache gcc \ && apk --update add --no-cache g++ \ && apk --update add --no-cache tzdata \ -- Gitee