Sha256: 4c39ba95802a7bf64df2821b1ce70ab63eb730028b78155ff57337ec721b487f

Contents?: true

Size: 1.12 KB

Versions: 1

Compression:

Stored size: 1.12 KB

Contents

FROM opensuse:13.2

# see update.sh for why all "apt-get install"s have to stay as one long line
RUN zypper -n --gpg-auto-import-keys refresh
RUN zypper -n --gpg-auto-import-keys update
RUN zypper -n --gpg-auto-import-keys install ca-certificates-mozilla \
apache2-devel \
gcc \
gcc-c++ \
git-core \
libcurl-devel \
mariadb-client \
libmysqlclient-devel \
libopenssl-devel \
libstdc++-devel \
libxml2-devel \
libxslt-devel \
make \
nodejs \
patch \
ruby2.1-devel \
rubygem-bundler \
zlib-devel \
which

RUN touch /etc/apache2/sysconfig.d/include.conf

RUN gem install passenger -v 5.0.7
RUN passenger-install-apache2-module.ruby2.1 -a

#variable?
RUN mkdir /srv/www/rails
WORKDIR /srv/www/rails
ADD ./data /srv/www/rails
RUN chown -R wwwrun:www  /srv/www/rails

RUN bundle config build.nokogiri --use-system-libraries
RUN bundle install

ADD apache2/sysconfig_apache2 /etc/sysconfig/apache2
ADD apache2/httpd.conf.local /etc/apache2/httpd.conf.local
ADD apache2/listen.conf /etc/apache2/listen.conf
ADD apache2/rails_app_vhost.conf /etc/apache2/vhosts.d/
RUN cat /etc/apache2/httpd.conf.local >> /etc/apache2/httpd.conf

ENV COMPOSE=1

EXPOSE 3000

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
machinery-tool-1.13.0 workload_mapper/rails/container/Dockerfile