Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Ruby on nano_server is a dynamic, reflective, object-oriented, general-purpose, open-source programming language.

Notifications You must be signed in to change notification settings

woodie/nanoserver-ruby

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

13 Commits

Repository files navigation

nanoserver-ruby

Ruby on nano server is a dynamic, reflective, object-oriented, general-purpose, open-source programming language.

The microsoft/nanoserver base image has a small footprint, but does not include graphics libraries or the .NET Framework. The 7-Zip utility and Chocolatey package manager don't currently work on Nano because they require .NET. Further, most EXE installers and all MSI installers don't work on Nano. The microsoft/windowscoreserver has none of these issues, but the footprint is ten times larger.

+-----------------------------------+ REPOSITORY SIZE
| FROM microsoft/windowsservercore | microsoft/windowsservercore 10.20 GB
+-----------------------------------+ windowsservercore-ruby 10.80 GB
| Install rb to C:\Ruby22_x64 |
| Install dk to C:\DevKit | |
+----------------------|---|--------+
 | |
+----------------------|---|--------+ REPOSITORY SIZE
| FROM microsoft/nanoserver | microsoft/nanoserver 1.02 GB
+----------------------|---|--------+ nanoserver-ruby 1.52 GB
| Copy files | | |
| C:\DevKit <--+ | |
| C:\Ruby22_x64 <------+ |
| Setup the environment |
+-----------------------------------+

Fortunately, multi-stage build is the perfect solution. We can install everyting into a microsoft/windowscoreserver container, and then copy the bits we need into a microsoft/nanoserver container. The nanoserver-ruby image is small and should work fine for most applications, but we can always fall back to using the windowscoreserver-ruby image as long as we have ample resources.

Docker for Window Community Edition has no support for sharing host volumes, so using multi-stage build to copy files between containers is the obvious solution.

About

Ruby on nano_server is a dynamic, reflective, object-oriented, general-purpose, open-source programming language.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

AltStyle によって変換されたページ (->オリジナル) /