1 # Arvados Documentation Docker container.
4 maintainer Ward Vandewege <ward@curoverse.com>
7 RUN /bin/mkdir -p /usr/src/arvados && \
9 apt-get install -q -y curl procps apache2-mpm-worker
11 ADD generated/doc.tar.gz /usr/src/arvados/
14 RUN /usr/local/rvm/bin/rvm-exec default bundle install --gemfile=/usr/src/arvados/doc/Gemfile && \
15 /bin/sed -ri 's/^baseurl: .*$/baseurl: /' /usr/src/arvados/doc/_config.yml && \
16 cd /usr/src/arvados/doc && \
17 LANG="en_US.UTF-8" LC_ALL="en_US.UTF-8" /usr/local/rvm/bin/rvm-exec default bundle exec rake
20 ADD apache2_vhost /etc/apache2/sites-available/doc
22 a2dissite default && \
25 ADD apache2_foreground.sh /etc/apache2/foreground.sh
28 CMD ["/etc/apache2/foreground.sh"]