aws / aws/amazon-sagemaker-examples
Whitespace in Dockerfile causes runtime errors
- Dominant language
- Jupyter Notebook
- Stars
- 11k
- Forks
- 7k
- Avg merge
- 8h 29m
- Merged PRs (30d)
- 8
Description
Hi there,
I'm working on recreating this on my own sagemaker instance and ran into an issue:
` Error response from daemon: dockerfile parse error line 9: unknown instruction: CMAKE`
After a quick search of the issue, I found that the [extra whitespace on the lines of the docker file](https://github.com/aws/amazon-sagemaker-examples/blob/d004f43f2abe2034fb8c79a6af0e51e46da7c501/inference/generativeai/llm-workshop/lab4-openchatkit/deploy_openchatkit_on_sagemaker.ipynb#L984C27-L984C27) were the cause of the issue. I'd like to kindly suggest either adding a notice of this potential error or removing the whitespace all together.
Thanks for putting this tutorial together!
Best regards,
Ahir Chatterjee
Contributor guide
Assessment
This issue has not been assessed yet.