Created
August 27, 2018 08:53
-
-
Save eterps/f67e2da88565270db6f8745c26043b29 to your computer and use it in GitHub Desktop.
ruby-llvm on ubuntu 16.04 with recent llvm version 3.5
This file contains hidden or 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:16.04 | |
| RUN apt-get update && apt-get install -y build-essential ruby-dev llvm-3.5 wget | |
| RUN gem install bundler rake | |
| RUN /bin/echo -e "source 'https://rubygems.org'\ngem 'ruby-llvm'" >Gemfile | |
| RUN bundle install | |
| RUN wget -nv https://raw.githubusercontent.com/ruby-llvm/ruby-llvm/master/samples/hello.rb | |
| CMD bundle exec ruby hello.rb |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment