Be consistent about the version of ruby that is installed by rvm and
[arvados.git] / docker / passenger / Dockerfile
index 45ef9ae50bf0123b7c490e2be07701b2eb1bba49..049ce2d5fd6a49fb427899a1f139e23010294773 100644 (file)
@@ -1,12 +1,14 @@
 # Arvados passenger image
 
 FROM arvados/base
-MAINTAINER Ward Vandewege <ward@clinicalfuture.com>
+MAINTAINER Ward Vandewege <ward@curoverse.com>
 
 # Install packages and build the passenger apache module
 RUN apt-get update && \
     apt-get install -q -y apt-utils git curl procps apache2-mpm-worker \
                           libcurl4-openssl-dev apache2-threaded-dev \
                           libapr1-dev libaprutil1-dev && \
-    passenger-install-apache2-module --auto
+    /usr/local/rvm/bin/rvm-exec default passenger-install-apache2-module --auto
+
+RUN /usr/local/rvm/bin/rvm-exec default passenger-install-apache2-module --snippet > /etc/apache2/conf.d/passenger