修改镜像源为国内镜像源

This commit is contained in:
jonnyan404 2021-08-06 08:53:46 +00:00 committed by Gitee
parent c325c67dd3
commit 92f5182040

View File

@ -8,8 +8,9 @@ COPY . /app/MrDoc/
WORKDIR /app/MrDoc
RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/g' /etc/apk/repositories
RUN set -x \
&& apk add wqy-zenhei --update-cache --repository http://dl-3.alpinelinux.org/alpine/edge/testing/ --allow-untrusted \
&& apk add --no-cache --virtual .build-deps build-base g++ gcc libxslt-dev python2-dev linux-headers \
&& apk add --no-cache pwgen git tzdata zlib-dev freetype-dev jpeg-dev mariadb-dev postgresql-dev \
&& python -m pip install --upgrade pip \