-
Notifications
You must be signed in to change notification settings - Fork 59
Added sudo for x1p building #251
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
Conversation
This is more of a useless addition, but it's nice to be able to just copy and paste. In the compiling section, there is no sudo for the commands, and if ran by someone, it will throw an error. Pretty much for lazy people (like me), who just wants to copy and paste.
|
The build commands are LGTM and works fine. If your environment requires special configuration then it should be only limited to you. If you done post installation correctly, there is no need to add sudo. |
Yep the only time I use sudo with docker is if something isn't quite configured right. Things like pulling a repo on Windows and then trying to run the dockerfile from WSL2 can cause permission errors that in most cases it's just better to rebuild the image from scratch |
|
Yeah, I don't think we should be having people sudo to run docker, but I wouldn't object to having a sentence in there that says 'if you need to sudo, make sure you're in the docker group on your system' or something |
Maybe a FAQ section for some common platform configurations, like on Mac I will need |
Yah, thanks. Totally forgot about this as I haven't used docker in some time. I will close this pr unless otherwise needed. |
@scooterthedev Could you test if the updated docker instructions work for you on Windows? https://github.com/X1Plus/X1Plus/pull/280/files I would but I'm traveling atm and all I have is a Macbook. edit: nvm ignore my last edit. |
|
Yah, I will try test them soon. I usually use Linux for this, but I also have a Windows device I'll test it on. |
|
Oh for some reason I thought you were on Windows. No worries if it's not convenient. I can test it tomorrow |
I will test it right now. I use both Linux and Windows as my primary devices, lol. |
So I tested it, and it seemed to go well besides for when I get to the code |
|
I'm going to close this pr, as the main pr is #280, and no this one. Any subsequent conversations regrading the docker scripts can run on that pr over this one, so we won't have to jump back and forth between pr's. |
This is more of a useless addition, but it's nice to be able to just copy and paste. In the compiling section, there is no sudo for the commands, and if ran by someone, it will throw an error. Pretty much for lazy people (like me), who just wants to copy and paste.