1 # Arvados passenger image
4 MAINTAINER Ward Vandewege <ward@curoverse.com>
6 # Install packages and build the passenger apache module
7 RUN apt-get update && \
8 apt-get install -q -y apt-utils git curl procps apache2-mpm-worker \
9 libcurl4-openssl-dev apache2-threaded-dev \
10 libapr1-dev libaprutil1-dev && \
11 cd /usr/src/arvados/services/api && \
12 /usr/local/rvm/bin/rvm-exec default bundle exec passenger-install-apache2-module --auto
14 RUN cd /usr/src/arvados/services/api && \
15 /usr/local/rvm/bin/rvm-exec default bundle exec passenger-install-apache2-module --snippet > /etc/apache2/conf.d/passenger