File tree Expand file tree Collapse file tree 6 files changed +30
-7
lines changed Expand file tree Collapse file tree 6 files changed +30
-7
lines changed Original file line number Diff line number Diff line change
1
+ cd docker
2
+ REM docker buildx build --pull --load --platform linux/arm/v7 -t kumatea/ext:py39 -f py39/Dockerfile .
3
+ REM docker buildx build --pull --load --platform linux/arm/v7 -t kumatea/ext:py38 -f py38/Dockerfile .
4
+ REM docker buildx build --pull --load --platform linux/arm/v7 -t kumatea/ext:py37 -f py37/Dockerfile .
5
+ REM docker buildx build --pull --load --platform linux/arm/v7 -t kumatea/ext:py36 -f py36/Dockerfile .
6
+
7
+ REM docker image prune
8
+
9
+ docker run -it --name py39e kumatea/ext:py39 bash /root/build-wheels.sh
10
+ docker cp py39e:/root/whl .
11
+ docker rm py39e
12
+
13
+ docker run -it --name py38e kumatea/ext:py38 bash /root/build-wheels.sh
14
+ docker cp py38e:/root/whl .
15
+ docker rm py38e
16
+
17
+ docker run -it --name py37e kumatea/ext:py37 bash /root/build-wheels.sh
18
+ docker cp py37e:/root/whl .
19
+ docker rm py37e
20
+
21
+ docker run -it --name py36e kumatea/ext:py36 bash /root/build-wheels.sh
22
+ docker cp py36e:/root/whl .
23
+ docker rm py36e
Original file line number Diff line number Diff line change 2
2
3
3
set -ex
4
4
5
- # pip config set global.index-url https://mirrors.matrix.moe /pypi/web/simple
6
- pip install -U -r /root/packages-stdln.txt -f https://ext.maku.ml/wheels.html -f https://torch.maku.ml/whl/stable.html
7
- pip install -U -r /root/packages-deps.txt -f https://ext.maku.ml/wheels.html -f https://torch.maku.ml/whl/stable.html
5
+ # pip config set global.index-url https://mirrors.vmatrix.org.cn /pypi/web/simple
6
+ pip install -U -v - r /root/packages-stdln.txt -f https://ext.maku.ml/wheels.html -f https://torch.maku.ml/whl/stable.html
7
+ pip install -U -v - r /root/packages-deps.txt -f https://ext.maku.ml/wheels.html -f https://torch.maku.ml/whl/stable.html
8
8
mkdir /root/whl
9
9
cp -a $( find /root/.cache/pip | grep whl | tr ' \n' ' ' ) /root/whl/ || echo " No new whl is built!"
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ FROM python:3.6
2
2
3
3
RUN set -ex \
4
4
\
5
- && pip config set global.index-url https://mirrors.matrix.moe /pypi/web/simple \
5
+ && pip config set global.index-url https://mirrors.vmatrix.org.cn /pypi/web/simple \
6
6
&& python3 -m pip install -U pip setuptools wheel \
7
7
&& rm -rf /root/.cache/*
8
8
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ FROM python:3.7
2
2
3
3
RUN set -ex \
4
4
\
5
- && pip config set global.index-url https://mirrors.matrix.moe /pypi/web/simple \
5
+ && pip config set global.index-url https://mirrors.vmatrix.org.cn /pypi/web/simple \
6
6
&& python3 -m pip install -U pip setuptools wheel \
7
7
&& rm -rf /root/.cache/*
8
8
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ FROM python:3.8
2
2
3
3
RUN set -ex \
4
4
\
5
- && pip config set global.index-url https://mirrors.matrix.moe /pypi/web/simple \
5
+ && pip config set global.index-url https://mirrors.vmatrix.org.cn /pypi/web/simple \
6
6
&& python3 -m pip install -U pip setuptools wheel \
7
7
&& rm -rf /root/.cache/*
8
8
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ FROM python:3.9
2
2
3
3
RUN set -ex \
4
4
\
5
- && pip config set global.index-url https://mirrors.matrix.moe /pypi/web/simple \
5
+ && pip config set global.index-url https://mirrors.vmatrix.org.cn /pypi/web/simple \
6
6
&& python3 -m pip install -U pip setuptools wheel \
7
7
&& rm -rf /root/.cache/*
8
8
You can’t perform that action at this time.
0 commit comments