-
Notifications
You must be signed in to change notification settings - Fork 91
unable to build #141
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
Comments
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Hi @richardbedwell-imaginecurve, Thank you for raising this issue. I believe the issue arises from the fact that the intended build context for dockerfiles in this repository is the base directory for the repo. The base directory contains a directory named lib, with the changehostname.c file inside. I believe running a command with the following template, once you have cloned the repository and entered its directory, should allow you to build successfully:
For example, to build a CPU Py3 image for PyTorch 1.2.0 using the dockerfile at docker/1.2.0/py3/Dockerfile.cpu:
Could you please try this out and respond with the outcome? |
Hi @saimidu, I'm not the OP but I tried to build the GPU version and it fails at step 36.
My build command was:
|
I was able to build it by doing this:
|
Hi @domino14, Yes, that is the correct prerequisite step to be taken before the docker build is started. The build requires the |
I am unable to build an image with the dockerfile in this repo (specifically i am using the cpu version).
running the command
docker build -t sagemaker-inference-images .
ends at:
Step 20/29 : COPY lib/changehostname.c / COPY failed: stat /var/lib/docker/tmp/docker-builder354479123/lib/changehostname.c: no such file or directory
The text was updated successfully, but these errors were encountered: