Last active
January 17, 2024 16:26
-
-
Save Luzifer/43c93283d2be0fcd65fd40a8016926d8 to your computer and use it in GitHub Desktop.
Ruby 1.8.7 Docker container based on Debian Jessie
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 debian:jessie | |
ENV RUBY_VERSION 1.8.7-p374 | |
ENV PATH /usr/local/rvm/gems/ruby-${RUBY_VERSION}/bin:/usr/local/rvm/gems/ruby-${RUBY_VERSION}@global/bin:/usr/local/rvm/rubies/ruby-${RUBY_VERSION}/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/rvm/bin | |
RUN set -ex \ | |
&& apt-get update && apt-get install -y curl \ | |
&& gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 \ | |
&& curl -sSL https://get.rvm.io | bash -s stable --ruby=${RUBY_VERSION} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment