Skip to content

Commit c72a57c

Browse files
committed
fix: gitea have problem with PyPI Simple Repository API
Refer to: * go-gitea/gitea#30612
1 parent e6b2c84 commit c72a57c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

saveweb/Dockerfile.chouti

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ RUN apk update \
1313
USER nonroot:nonroot
1414
WORKDIR /home/nonroot/
1515
RUN curl -LsSf https://astral.sh/uv/install.sh | sh
16+
ARG chouti_url="https://git.saveweb.org/api/packages/saveweb/pypi/files/chouti/1.0.3/chouti-1.0.3-py3-none-any.whl#sha256-88f4b4555bc6d4a73b33db1d77548277868db26d41a5981454fd0209164d803e"
1617
RUN source /home/nonroot/.cargo/env \
1718
&& uv venv \
1819
&& source /home/nonroot/.venv/bin/activate \
1920
&& uv pip --no-cache-dir install --upgrade \
20-
--extra-index-url https://git.saveweb.org/api/packages/saveweb/pypi/simple \
21-
chouti
21+
"$chouti_url"
2222

2323
RUN echo 'source /home/nonroot/.cargo/env' > /home/nonroot/.bashrc \
2424
&& echo 'source /home/nonroot/.venv/bin/activate' >> /home/nonroot/.bashrc \

0 commit comments

Comments
 (0)