You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to containers/buildah#4309 a WORKDIR must be defined to use a relative path for target. I opened an issue on the buildah side to have more information containers/buildah#5738
Before submitting a new issue...
Make sure you already searched for relevant issues, and asked the chatbot living at the bottom right corner of the documentation page, which can answer lots of frequently asked questions.
The text was updated successfully, but these errors were encountered:
I would probably say it does, but as I do not work on buildah and don't have extensive knowledge on his capabilities I can't say. The problem here seems to really be a sidecase, as the target=requirements-build.txt is a relative path, and in most places this is not an issue, but apparently buildah do not support this without defining the WORKDIR.
I opened containers/buildah#5738 to draw some attention from the buildah team. (podman uses buildah to build the images).
dtrifiro
added a commit
to dtrifiro/vllm
that referenced
this issue
Sep 17, 2024
Your current environment
How you are installing vllm
We can see that in the
Dockerfile.cpu
we are mounting the requirement-*.txt filesvllm/Dockerfile.cpu
Line 29 in fc990f9
vllm/Dockerfile.cpu
Line 51 in fc990f9
vllm/Dockerfile.cpu
Line 52 in fc990f9
And while they are mounted, no absolute path is provided, leading to the error above.
Solution proposal
OR
+ WORKDIR / RUN --mount=type=cache,target=/root/.cache/pip \ --mount=type=bind,src=requirements-build.txt,target=requirements-build.txt \ pip install --upgrade pip && \ pip install -r requirements-build.txt
According to containers/buildah#4309 a WORKDIR must be defined to use a relative path for target. I opened an issue on the buildah side to have more information containers/buildah#5738
Before submitting a new issue...
The text was updated successfully, but these errors were encountered: