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

Add Windows Server Core variants #130

Open
woodie opened this issue May 26, 2017 · 7 comments
Open

Add Windows Server Core variants #130

woodie opened this issue May 26, 2017 · 7 comments
Labels
Request Request for image modification or feature

Comments

@woodie
Copy link

woodie commented May 26, 2017

Some folks need to deploy Ruby applications on Windows (with native Windows libraries), so the ruby docker-library should support a windows base image. The python base images for windows are based on windowsservercore which is enormous, but it could probably copy everything over to a nano image with a multi-stage build. I've done that with my Ruby base image.

DevKit includes bash, so we can probably do all the same setup at the other ruby images in bash.

@tianon
Copy link
Member

tianon commented Apr 20, 2018

It looks like for Windows, the best option available is https://rubyinstaller.org/? (Which doesn't appear to be official, but is officially sanctioned, so likely acceptable.)

Regarding nanoserver and/or multistage builds, see docker-library/official-images#3383.

I think this is something we're interested in seeing some development effort around, but I'm still a little bit hesitant about officially supporting it. Seeing something similar to the Python Windows Dockerfiles that installs Ruby would be a good first start. 👍

@wglambert wglambert added the Request Request for image modification or feature label Apr 25, 2018
@tianon
Copy link
Member

tianon commented Aug 20, 2021

Coming back to this a few years later, I think the biggest blocker for moving forward is really that the Ruby project doesn't publish official builds for Windows (and building them ourselves is a bit more complicated than we'd like).

If/when that changes, I'd love to see some work around some Windows Server Core-based images.

@tianon tianon closed this as completed Aug 20, 2021
@AlexWayfer
Copy link

Coming back to this a few years later, I think the biggest blocker for moving forward is really that the Ruby project doesn't publish official builds for Windows (and building them ourselves is a bit more complicated than we'd like).

As I see, Ruby doesn't publish official builds for Linux or macOS neither. It provides sources and recommends managements systems or installers. And RubyInstaller seems pretty official way for Windows:

https://www.ruby-lang.org/en/downloads/

image

So this argument seems a bit strange.

@tianon
Copy link
Member

tianon commented Aug 23, 2021

Sure, but we can't support macOS, and on Linux we have a lot of really straightforward ways to build from source.

I guess as long as there's actual interest and the RubyInstaller builds keep up reasonably with the official releases, that's probably fine? (However, in the last three years we also haven't really seemed to see much interest in a Windows variant of the Ruby image.)

@AlexWayfer
Copy link

Sure, but we can't support macOS, and on Linux we have a lot of really straightforward ways to build from source.

I don't understand why you mention these OSes in the issue about Windows, but… OK.

I guess as long as there's actual interest and the RubyInstaller builds keep up reasonably with the official releases, that's probably fine? (However, in the last three years we also haven't really seemed to see much interest in a Windows variant of the Ruby image.)

FYI, I maintain filewatcher Ruby gem, and it's declared as cross-platform (including Windows), that's the way because I'm here, so I have to run its tests on Windows in CI somehow, but, thanks to Cirrus CI, I found a work-around via choco (it's pretty simple installer, and supports Ruby as well): https://github.com/filewatcher/filewatcher/blob/4a875b4/.cirrus.yaml#L109-L145

@tianon
Copy link
Member

tianon commented Aug 23, 2021

Sure, but we can't support macOS, and on Linux we have a lot of really straightforward ways to build from source.

I don't understand why you mention these OSes in the issue about Windows, but… OK.

?

As I see, Ruby doesn't publish official builds for Linux or macOS neither. It provides sources and recommends managements systems or installers. And RubyInstaller seems pretty official way for Windows:

@tianon tianon reopened this Aug 23, 2021
@tianon tianon changed the title Support nanoserver-ruby base image Add Windows Server Core variants Aug 23, 2021
@AlexWayfer
Copy link

Sure, but we can't support macOS, and on Linux we have a lot of really straightforward ways to build from source.

I don't understand why you mention these OSes in the issue about Windows, but… OK.

?

As I see, Ruby doesn't publish official builds for Linux or macOS neither. It provides sources and recommends managements systems or installers. And RubyInstaller seems pretty official way for Windows:

My bad, sorry.

I though you meant that any (?) Linux distributive has "official" (especially from the distributive side) Ruby package (binary), and macOS has it built-in and upgradable (as I know), but yes, different Ruby-projects require different Ruby versions, and any version management system would be better for any case.

But I'm not too familiar with Docker, it's your choice and etc., but I'm interested in Docker, Windows, Ruby, especially this case (I guess, with nanoserver there would be a small image).

chrissolanilla pushed a commit to chrissolanilla/CSolanillaBio that referenced this issue May 16, 2024
chrissolanilla pushed a commit to chrissolanilla/CSolanillaBio that referenced this issue May 16, 2024
Update joinus page.  Fixes docker-library#130

See merge request ucfcdl/static-sites/techrangers-website!169
chrissolanilla pushed a commit to chrissolanilla/CSolanillaBio that referenced this issue May 16, 2024
Deploy Join Us updates

Closes docker-library#130

See merge request ucfcdl/static-sites/techrangers-website!170
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Request Request for image modification or feature
Projects
None yet
Development

No branches or pull requests

4 participants