Sha256: 4f7912fca4f927cf0a555fc7cc2568791eb01fe596358aa8130aec9533329cc3

Contents?: true

Size: 661 Bytes

Versions: 5

Compression:

Stored size: 661 Bytes

Contents

FROM niku/debian
MAINTAINER niku

RUN apt-get update && \
    apt-get -y install build-essential ruby2.1-dev cmake pkg-config git apache2 libapache2-mod-passenger && \
    echo "<VirtualHost *:80>\n    DocumentRoot /var/www/nwiki/public\n    <Directory /var/www/nwiki/public>\n        Allow from all\n        Options -MultiViews\n    </Directory>\n</VirtualHost>" > /etc/apache2/sites-available/nwiki.conf && \
    a2dissite 000-default && \
    a2ensite nwiki && \
    git clone https://github.com/niku/nwiki.git /var/www/nwiki && \
    cd /var/www/nwiki && gem install bundler && bundle install

EXPOSE 80 443
CMD ["/usr/sbin/apache2ctl", "-D", "FOREGROUND"]

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
nwiki-0.3.3 Dockerfile
nwiki-0.3.2 Dockerfile
nwiki-0.3.1 Dockerfile
nwiki-0.3.0 Dockerfile
nwiki-0.2.11 Dockerfile