-
Notifications
You must be signed in to change notification settings - Fork 256
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
'ridk install' not working in windows docker container #164
Comments
I built a Dockerfile that installs RubyInstaller plus Devkit. It might be helpful for you: https://github.com/oneclick/rubyinstaller2/blob/master/docker/Dockerfile My intension was to reliably built RubyInstaller per docker. This initially worked well, but I had to realize that docker on Windows is unreliable. Although I have a lot of experience with docker on Linux, I got all kinds of errors and stability issues when running builds repeatedly or in parallel. Regarding MSYS2, the installer need a graphical desktop. So you either habe to use the RubyInstaller bundled MSYS2 or the tar file instead: http://repo.msys2.org/distrib/ |
Thank you for your quick reply. I think you missed the link i posted, I was referring to the same Dockerfile you created which I couldn't get running on my machine due to the error during "ridk install 1" as described above. I'am just wondering why it does not work for me. Did you use a different docker version maybe? EDIT: Following your advice I got it working by replacing "RUN ridk install 1" with these 5 instructions:
I don't know if downloading, installing and using 7z is a little bit of overhead, but unfortunately ADD from an url does not unpack the tar.xz file. |
Same problem here. I'm really getting sick of it. Tried to reinstall 5 times, try to open it via administrator, msysc2 etc.. none of them worked |
I was trying to run the Dockerfile from here without any modifications.
Unfortunately, the step "ridk install 1' fails:
Apparently the MSYS2 installer-exe fails, but I have no idea why. Changing the ruby versions to a newer one in the Dockerfile does not help.
I'm using Docker version 19.03.5 on Windows 10.
The text was updated successfully, but these errors were encountered: