ir_datasets is already installed as a python library, but when we tried to build the Docker image, it constantly fails to recognize the installation command for ir_datasets library. The error below occurs.
10 | # Install any required packages
11 | >>> RUN pip install ir_datasets
13 | # Expose the port that the Jupyter notebook runs on
ERROR: failed to solve: process “/bin/bash -o pipefail -c pip install ir_datasets” did not complete successfully: exit code: 1
We’ve tried to restart the build by putting the following command:
docker build --no-cache -t luckycoincidence .
How can we deal with this situation?