[ARVADOS] created: 4ba02b520758167af6c84fdb7c416b38c84ddf72
Git user
git at public.curoverse.com
Thu Nov 10 23:19:23 EST 2016
at 4ba02b520758167af6c84fdb7c416b38c84ddf72 (commit)
commit 4ba02b520758167af6c84fdb7c416b38c84ddf72
Author: Peter Amstutz <peter.amstutz at curoverse.com>
Date: Thu Nov 10 23:19:18 2016 -0500
10410: Use rvm instead of Debian packages in order to install a more recent Ruby.
diff --git a/tools/arvbox/lib/arvbox/docker/Dockerfile.base b/tools/arvbox/lib/arvbox/docker/Dockerfile.base
index 0b92673..0448203 100644
--- a/tools/arvbox/lib/arvbox/docker/Dockerfile.base
+++ b/tools/arvbox/lib/arvbox/docker/Dockerfile.base
@@ -3,8 +3,7 @@ FROM debian:8
RUN apt-get update
RUN DEBIAN_FRONTEND=noninteractive apt-get -yq --no-install-recommends install \
- postgresql-9.4 git build-essential runit \
- ruby rake bundler curl libpq-dev ruby-dev \
+ postgresql-9.4 git build-essential runit curl libpq-dev \
libcurl4-openssl-dev libssl-dev zlib1g-dev libpcre3-dev \
openssh-server python-setuptools netcat-traditional \
python-epydoc graphviz bzip2 less sudo virtualenv
@@ -20,6 +19,14 @@ RUN apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get -yq --no-install-recommends install \
linkchecker python3-virtualenv python-virtualenv xvfb iceweasel
+# Install RVM
+RUN gpg --keyserver pool.sks-keyservers.net --recv-keys D39DC0E3 && \
+ curl -L https://get.rvm.io | bash -s stable && \
+ /usr/local/rvm/bin/rvm install 2.1 && \
+ /usr/local/rvm/bin/rvm alias create default ruby-2.1 && \
+ /usr/local/rvm/bin/rvm-exec default gem install bundler
+
+# Install golang binary
RUN cd /usr/local && \
GOVERSION=1.7.1 && \
curl -O http://storage.googleapis.com/golang/go${GOVERSION}.linux-amd64.tar.gz && \
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list