Created
August 27, 2018 08:24
-
-
Save eterps/59a40746ad09263427274cefaa1409e0 to your computer and use it in GitHub Desktop.
ruby-llvm on recent ubuntu with recent llvm version
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu:18.04 | |
RUN apt-get update && apt-get install -y build-essential git ruby-dev llvm-5.0-dev | |
RUN gem install bundler rake | |
RUN /bin/echo -e "source 'https://rubygems.org'\ngem 'ruby-llvm', git: 'https://github.com/ruby-llvm/ruby-llvm', ref: '889e97d'" >Gemfile | |
RUN bundle install | |
CMD bundle exec ruby /var/lib/gems/*/bundler/gems/ruby-llvm*/samples/hello.rb |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment