Skip to content

Commit b1cff04

Browse files
committed
chore(mirrors): delete aliyun mirrors
1 parent 8ca9ca3 commit b1cff04

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

rootfs/Dockerfile.test

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@ FROM python:3.7-alpine
33
COPY requirements.txt /app/requirements.txt
44
COPY dev_requirements.txt /app/dev_requirements.txt
55

6-
RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories \
7-
&& apk update \
6+
RUN apk update \
87
&& apk add postgresql==12.3-r2
98

109
ENV PGDATA /var/lib/postgresql/12
@@ -16,8 +15,8 @@ RUN mkdir -p /run/postgresql $PGDATA \
1615
libffi-dev \
1716
musl-dev \
1817
openldap-dev \
19-
&& pip3 install --disable-pip-version-check --no-cache-dir -r /app/requirements.txt -i https://mirrors.aliyun.com/pypi/simple \
20-
&& pip3 install --disable-pip-version-check --no-cache-dir -r /app/dev_requirements.txt -i https://mirrors.aliyun.com/pypi/simple \
18+
&& pip3 install --disable-pip-version-check --no-cache-dir -r /app/requirements.txt \
19+
&& pip3 install --disable-pip-version-check --no-cache-dir -r /app/dev_requirements.txt \
2120
&& runDeps="$( \
2221
scanelf --needed --nobanner --format '%n#p' --recursive /usr/local \
2322
| tr ',' '\n' \

0 commit comments

Comments
 (0)