update Dockerfile.
阿里镜像源问题更新 导致docker 无法安装
This commit is contained in:
+1
-3
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user