Skip to content
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

[BUG FIX] Fix for dockerfile error #332

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

skurtyyskirts
Copy link

Windows-style CRLF line endings in the build script causing compatibility issues in the Linux container. Added dos2unix package installation to handle Windows/Unix line ending conversion.

This fix addresses cross-platform compatibility issues common when developing Docker images on Windows systems
FIX for: ERROR: failed to solve: process "/bin/sh -c chmod +x ./build_luisa.sh && ./build_luisa.sh ${PYTHON_VERSION}" did not complete successfully: exit code: 127
@zhouxian
Copy link
Collaborator

@Kashu7100

@skurtyyskirts
Copy link
Author

I should add, this relates to a current open issue #326

@Kashu7100
Copy link
Collaborator

@skurtyyskirts I am wondering if I run dos2unix outside the Docker on the build_luisa.sh script, can we avoid the installation of dos2unix in the Docker? I don't have any Windows machine available for now so cannot test it quickly.

@skurtyyskirts
Copy link
Author

Oh that's a good question, if anyone see's this ticket and is available to test it would be much appreciated, I'm away from the home pc for a bit :(

@ziyanx02 ziyanx02 changed the title Fix for dockerfile error [BUG FIX] Fix for dockerfile error Dec 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants