build error
The command '/bin/sh -c pip install -r requirements.txt' returned a non-zero code: 1
Build logs:
Step 1/30 : ARG PYTHON_VERSION
Step 2/30 : FROM python:${PYTHON_VERSION}
---> dd4ac8dff24c
Step 3/30 : RUN apt-get update && apt-get install -y git-lfs
---> Using cache
---> 2e9a55705a45
Step 4/30 : RUN git lfs install
---> Using cache
---> 7f4fe6de12c0
Step 5/30 : RUN apt-get update && apt-get install -y ffmpeg libsm6 libxext6 cmake libgl1-mesa-glx
---> Using cache
---> 5ad61e9f83a5
Step 6/30 : COPY packages.txt /root/packages.txt
---> Using cache
---> 174fe5e597e6
Step 7/30 : RUN apt-get update && xargs -r -a /root/packages.txt apt-get install -y
---> Using cache
---> 474dd26bae26
Step 8/30 : RUN useradd -m user
---> Using cache
---> 8979a7814122
Step 9/30 : USER user
---> Using cache
---> 595d6d971cfb
Step 10/30 : ENV HOME /home/user
---> Using cache
---> ea64f532157b
Step 11/30 : ENV PATH $HOME/.local/bin:$PATH
---> Using cache
---> 4587244439ae
Step 12/30 : WORKDIR $HOME
---> Using cache
---> f819d482ca6c
Step 13/30 : RUN mkdir app
---> Using cache
---> db5cf1e4f5f3
Step 14/30 : WORKDIR $HOME/app
---> Using cache
---> 36762ef7511a
Step 15/30 : ARG PIP_VERSION=22.0.2
---> Using cache
---> be01c9902967
Step 16/30 : RUN pip install pip==${PIP_VERSION}
---> Using cache
---> 94c279d4bfd9
Step 17/30 : RUN pip install datasets huggingface-hub
---> Using cache
---> a17c5b400329
Step 18/30 : COPY requirements.txt $HOME/app/requirements.txt
---> Using cache
---> a21974a04836
Step 19/30 : RUN pip install -r requirements.txt
---> Running in ae547e48dc32
Defaulting to user installation because normal site-packages is not writeable
Collecting git+https://github.com/ncoop57/sentence-transformers@clip-image-check (from -r requirements.txt (line 5))
Cloning https://github.com/ncoop57/sentence-transformers (to revision clip-image-check) to /tmp/pip-req-build-clhue9vm
Running command git clone --filter=blob:none --quiet https://github.com/ncoop57/sentence-transformers /tmp/pip-req-build-clhue9vm
WARNING: Did not find branch or tag 'clip-image-check', assuming revision or ref.
Running command git checkout -q clip-image-check
error: pathspec 'clip-image-check' did not match any file(s) known to git
error: subprocess-exited-with-error
× git checkout -q clip-image-check did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× git checkout -q clip-image-check did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
WARNING: You are using pip version 22.0.2; however, version 22.1 is available.
You should consider upgrading via the '/usr/local/bin/python -m pip install --upgrade pip' command.
Removing intermediate container ae547e48dc32