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

At step #5 sha256sum "no such file or directory" caused by linefeed compatability #10

Closed
bunnybooboo opened this issue Jul 30, 2021 · 1 comment

Comments

@bunnybooboo
Copy link

Wow thanks for this awesome work. Exactly what I needed today. I've recently switched to Windows after almost a decade solely in Linux. Stepped into Windows 11 beta channel test this week. This project is the first Docker setup I've tried in this fresh instance.

In this new setup there seems to be an interoperability issue surrounding linefeeds in the old Unix vs Windows battle for how to do things right. When the dockerfile hit sha256sum checks across the packages it spits out an error no such file or directory. Might be dense of me but, you know, a decade's some time hey.

The only way I could resolve it to proceed with the build was to use the following in GIT config command before cloning this repo:
git config --global core.autocrlf false

A heads-up for you as it could go a little way to improving the documentation in your README for anyone not already tweaked GIT in this way and spare them a headache. Build just completed WAHOOOO!

skeeto added a commit that referenced this issue Jul 30, 2021
This misfeature corrupts checkouts on Windows. Closes #9 and #10.
@skeeto
Copy link
Owner

skeeto commented Jul 30, 2021

Thanks for pointing this out. I've always disabled CRLF conversion, so I didn't know it was an issue. Then suddenly two of you trip over it a day apart (see #9). I've added a .gitattributes to disable line ending conversion, so that should fix it in future checkouts. This Git "feature" drives me nuts.

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

No branches or pull requests

2 participants