ComboStrikeHQ / docker-rails

An opinionated docker image for running Rails apps in production.
MIT License
89 stars 17 forks source link

Add Python 2 as libv8 depends on it #10

Closed reneklacan closed 7 years ago

reneklacan commented 7 years ago

libv8 is pretty much in majority of all Rails project gemfiles and latest version is currently failing to build because of libv8 requires python 2 to be installed in order to build, but it is currently not available (RuntimeError) error.

Symlink is necessary because libv8 looks for python2 binary (https://github.com/cowboyd/libv8/blob/12b2798746c13d7fa3121c888d1bb0bfb2d12b33/ext/libv8/builder.rb#L80)