Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR: failed to solve: process "/bin/sh -c pip install --upgrade -i \"$PIP_INDEX\" pip && pip install -i \"$PIP_INDEX\" \"diskcache>=5.6.1\" #2891

Closed
watch-Ultra opened this issue Feb 19, 2025 · 2 comments
Milestone

Comments

@watch-Ultra
Copy link

1205.1 fatal: not a git repository (or any of the parent directories): .git

4 warnings found (use docker --debug to expand):

  • LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format (line 24)
  • LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format (line 6)
  • LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format (line 7)
  • LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format (line 23)
    Dockerfile:27

26 | ARG PIP_INDEX=https://pypi.org/simple
27 | >>> RUN pip install --upgrade -i "$PIP_INDEX" pip &&
28 | >>> pip install -i "$PIP_INDEX" "diskcache>=5.6.1" "jinja2>=2.11.3" &&
29 | >>> # use pre-built whl package for llama-cpp-python, otherwise may core dump when init llama in some envs
30 | >>> pip install "llama-cpp-python>=0.2.82" -i https://abetlen.github.io/llama-cpp-python/whl/cu124 &&
31 | >>> pip install -i "$PIP_INDEX" --upgrade-strategy only-if-needed -r /opt/inference/xinference/deploy/docker/requirements.txt &&
32 | >>> pip install -i "$PIP_INDEX" --no-deps sglang &&
33 | >>> pip uninstall flashinfer -y &&
34 | >>> pip install flashinfer -i https://flashinfer.ai/whl/cu124/torch2.4 &&
35 | >>> cd /opt/inference &&
36 | >>> python3 setup.py build_web &&
37 | >>> git restore . &&
38 | >>> pip install -i "$PIP_INDEX" --no-deps "." &&
39 | >>> # clean packages
40 | >>> pip cache purge
41 |

ERROR: failed to solve: process "/bin/sh -c pip install --upgrade -i "$PIP_INDEX" pip && pip install -i "$PIP_INDEX" "diskcache>=5.6.1" "jinja2>=2.11.3" && pip install "llama-cpp-python>=0.2.82" -i https://abetlen.github.io/llama-cpp-python/whl/cu124 && pip install -i "$PIP_INDEX" --upgrade-strategy only-if-needed -r /opt/inference/xinference/deploy/docker/requirements.txt && pip install -i "$PIP_INDEX" --no-deps sglang && pip uninstall flashinfer -y && pip install flashinfer -i https://flashinfer.ai/whl/cu124/torch2.4 && cd /opt/inference && python3 setup.py build_web && git restore . && pip install -i "$PIP_INDEX" --no-deps "." && pip cache purge" did not complete successfully: exit code: 128

@XprobeBot XprobeBot added this to the v1.x milestone Feb 19, 2025
@watch-Ultra
Copy link
Author

npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^2.3.2 (node_modules/react-scripts/node_modules/fsevents):
1160.1 npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
1160.1 npm WARN @types/[email protected] requires a peer of @types/react@^18.0.0 but none is installed. You must install peer dependencies yourself.
1160.1 npm WARN [email protected] requires a peer of eslint@^8.0.0 but none is installed. You must install peer dependencies yourself.
1160.1 npm WARN [email protected] requires a peer of eslint@^8.1.0 but none is installed. You must install peer dependencies yourself.
1160.1 npm WARN [email protected] requires a peer of typescript@>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta but none is installed. You must install peer dependencies yourself.
1160.1 npm WARN @csstools/[email protected] requires a peer of postcss-selector-parser@^6.0.10 but none is installed. You must install peer dependencies yourself.
1160.1 npm WARN [email protected] requires a peer of typescript@>= 2.7 but none is installed. You must install peer dependencies yourself.
added 1743 packages from 770 contributors and audited 1751 packages in 62.068s
1160.4
1160.4 295 packages are looking for funding
1160.4 run npm fund for details
1160.4
1160.4 found 11 vulnerabilities (1 low, 2 moderate, 8 high)
1160.4 run npm audit fix to fix them, or npm audit for details
1160.6
1160.6 > [email protected] build /opt/inference/xinference/web/ui
1160.6 > react-scripts build
1160.6
1161.2 Creating an optimized production build...
1204.8 Compiled successfully.
1204.8
1204.8 File sizes after gzip:
1204.8
1204.9 324.32 kB build/static/js/main.72c21a2f.js
1204.9 1.45 kB build/static/css/main.26896b0d.css
1204.9
1204.9 The project was built assuming it is hosted at ./.
1204.9 You can control this with the homepage field in your package.json.
1204.9
1204.9 The build folder is ready to be deployed.
1204.9
1204.9 Find out more about deployment here:
1204.9
1204.9 https://cra.link/deployment
1204.9
1205.1 fatal: not a git repository (or any of the parent directories): .git

@watch-Ultra
Copy link
Author

@qinxuye

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants