commit b2e918abe2387be6922d838a51576f5d0a7c0900 Author: R. Tyler Croy Date: Tue Aug 2 14:42:01 2016 -0700 Initial commit with the basics of the Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..36fd6c2 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,10 @@ +FROM ubuntu:trusty + +# Grab the bare necessities for installing RVM and some Rubies +RUN apt-get update && apt-get install -yq git build-essential curl gnupg +# Accept mpapis' key so we can safely install RVM +RUN gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 +# Grab the latest stable version of RVM +RUN curl -sSL https://get.rvm.io | bash -s stable + +COPY rvmrc /root/.rvmrc diff --git a/README.adoc b/README.adoc new file mode 100644 index 0000000..2931511 --- /dev/null +++ b/README.adoc @@ -0,0 +1,5 @@ += Docker RVM for CI + +This repository contains some `Dockerfile` code for building containers which +come pre-baked with RVM for builds and tests in +link:https://jenkins.io[Jenkins]. diff --git a/rvmrc b/rvmrc new file mode 100644 index 0000000..8d01e9b --- /dev/null +++ b/rvmrc @@ -0,0 +1 @@ +rvm_install_on_use_flag=1