Skip to content

Commit 863c445

Browse files
committed
traige packages
1 parent 83afacf commit 863c445

File tree

9 files changed

+19
-12
lines changed

9 files changed

+19
-12
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ Backup link: `https://cf.ext.maku.ml/whl/stable.html`
1010

1111
---
1212

13-
`whl` list: [packages.txt](docker/packages.txt)
13+
`whl` list: [packages.txt](docker/packages-stdln.txt)

build.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ set -ex
55
#mkdir whl || :
66

77
cd docker
8-
docker build -t kumatea/ext:py39 -f py39/Dockerfile .
9-
docker build -t kumatea/ext:py38 -f py38/Dockerfile .
10-
docker build -t kumatea/ext:py37 -f py37/Dockerfile .
11-
docker build -t kumatea/ext:py36 -f py36/Dockerfile .
8+
docker build --pull -t kumatea/ext:py39 -f py39/Dockerfile .
9+
docker build --pull -t kumatea/ext:py38 -f py38/Dockerfile .
10+
docker build --pull -t kumatea/ext:py37 -f py37/Dockerfile .
11+
docker build --pull -t kumatea/ext:py36 -f py36/Dockerfile .
1212

1313
docker image prune
1414

docker/build-wheels.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
set -ex
44

55
# pip config set global.index-url https://mirrors.matrix.moe/pypi/web/simple
6-
pip install -U -r /root/packages.txt -f https://ext.maku.ml/wheels.html -f https://torch.maku.ml/whl/stable.html
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
78
mkdir /root/whl
89
cp -a $(find /root/.cache/pip | grep whl | tr '\n' ' ') /root/whl/ || echo "No new whl is built!"

docker/packages-deps.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
fastai
2+
fastbook
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1+
# stdln for standalone, not stdin
2+
13
numpy
24
Pillow
35
PyYAML
46
cffi
57
scikit-learn
6-
fastai
7-
fastbook

docker/py36/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ RUN set -ex \
66
&& python3 -m pip install -U pip setuptools wheel \
77
&& rm -rf /root/.cache/*
88

9-
COPY packages.txt /root/
9+
COPY packages-deps.txt /root/
10+
COPY packages-stdln.txt /root/
1011
COPY build-wheels.sh /root/
1112

1213
CMD ["/bin/bash"]

docker/py37/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ RUN set -ex \
66
&& python3 -m pip install -U pip setuptools wheel \
77
&& rm -rf /root/.cache/*
88

9-
COPY packages.txt /root/
9+
COPY packages-deps.txt /root/
10+
COPY packages-stdln.txt /root/
1011
COPY build-wheels.sh /root/
1112

1213
CMD ["/bin/bash"]

docker/py38/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ RUN set -ex \
66
&& python3 -m pip install -U pip setuptools wheel \
77
&& rm -rf /root/.cache/*
88

9-
COPY packages.txt /root/
9+
COPY packages-deps.txt /root/
10+
COPY packages-stdln.txt /root/
1011
COPY build-wheels.sh /root/
1112

1213
CMD ["/bin/bash"]

docker/py39/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ RUN set -ex \
66
&& python3 -m pip install -U pip setuptools wheel \
77
&& rm -rf /root/.cache/*
88

9-
COPY packages.txt /root/
9+
COPY packages-deps.txt /root/
10+
COPY packages-stdln.txt /root/
1011
COPY build-wheels.sh /root/
1112

1213
CMD ["/bin/bash"]

0 commit comments

Comments
 (0)