Skip to content

Instantly share code, notes, and snippets.

@Luzifer
Last active January 17, 2024 16:26
Show Gist options
  • Star 5 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Luzifer/43c93283d2be0fcd65fd40a8016926d8 to your computer and use it in GitHub Desktop.
Save Luzifer/43c93283d2be0fcd65fd40a8016926d8 to your computer and use it in GitHub Desktop.
Ruby 1.8.7 Docker container based on Debian Jessie
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