-
Notifications
You must be signed in to change notification settings - Fork 12
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
Provide z7 archive or WSA installer #14
Comments
@woodie - Ruby DevKit is distributed by the good folk behind the RubyInstaller project - I don't plan on distributing it separately from them. I can suggest the following: Since Ruby DevKit is distributed as a self-extracting executable which simply dumps the DevKit in a folder, you can re-package it as a z7 archive. Then in your Dockerfile you can RUN these steps but skip step one and replace step two with a call to z7 to extract the DevKit archive. |
@woodie - to take your |
Working with 7-Zip on Docker nanoserver images was a dead end, but there is progress. As described here, I got everything working on nanoserver by doing a multi-stage build (passing through a windowscoreserver). Please take a look at my nanoserver-ruby Dockerfile, and let my know if you think I'm doing something wrong by setting the path manually, and then calling dk.rb. There should only be one version of ruby in each container. I'm also curious if there is any setup that should be included from the linux-based ruby Dockerfile. |
It looks good - the multi-stage build trick is pretty cool. I see no issues with hard-coding the path in config.yml -- you are in full control of the file system so there should be no conflicts or misconfiguration. The linux-based image includes Bundler. Did you plan on including that with your image? |
My goal is to have linux and nano base images appear identical from the standpoint of ruby, so I plan to enforce all the same versions of supporting tools (rake, gem, bundler) within reason. At the same time, I want to embrace the goals of DevKit to avoid stumbling across issues that DevKit has already resolved. |
In this case I'd |
@woodie - I am closing this issue as there is no actionable item for the Slacker codebase. |
People buillding Docker microsoft/nanoserver images would appreciate a WSA download of the DevKit installer (MSI and EXE are not supported on Nano Server).
https://blogs.technet.microsoft.com/nanoserver/2015/11/18/installing-windows-server-apps-on-nano-server/
See also: https://sourceforge.net/p/p7zip/discussion/383043/thread/87a7a773/
The text was updated successfully, but these errors were encountered: