You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Building a minimal docker container for running jruby apps requires the bash shell to be available. If a system uses a lighter weight /bin/sh implementation (like ash in the case of alpine linux), then jruby should use that.
The text was updated successfully, but these errors were encountered:
For my own information, when you say depends on, what do you mean? There's a bash-based JRuby launcher, but it's also possible to just run java -cp path/to/jruby.jar org.jruby.Main foo.rb as well.
@darrin-wortlehock As someone else mentioned, there's a kinda-sorta sh script in there too. My recommendation, however, would be to have your docker container install the jruby-launcher gem. jruby-launcher is a native executable that has all the features of the bash script but can be used in shebang lines, etc. It is the executable you use when, for example, you install via rvm.
We'd love to have a plain sh script that has all the features of the bash script, but none of us are sh experts and nobody else has managed to port everything over.
Building a minimal docker container for running jruby apps requires the bash shell to be available. If a system uses a lighter weight /bin/sh implementation (like ash in the case of alpine linux), then jruby should use that.
The text was updated successfully, but these errors were encountered: