RUN cd / &&
git clone https://github.com/ &&
cd /fileadmin/ &&
bundle install &&
rake db:migrate &&
bundle exec rails runner "eval(File.read 'createTestUser.rb')" &&
mkdir /pending &&
mkdir /live &&
chmod 777 /pending &&
chmod 777 /live
CMD ["sh", "-c", "/etc/init.d/nullmailer start ; /usr/sbin/php5-fpm"]
RUN <<EOR
cd /
git clone https://github.com/
cd /fileadmin/
bundle install
rake db:migrate
bundle exec rails runner "eval(File.read 'createTestUser.rb')"
mkdir /pending
mkdir /live
chmod 777 /pending
chmod 777 /live
EOR
RUN yum install big-package && yum install package1
RUN cd /
git clone https://github.com/
cd /fileadmin/
bundle install
rake db:migrate
bundle exec rails runner "eval(File.read 'createTestUser.rb')"
mkdir /pending
mkdir /live
chmod 777 /pending
chmod 777 /live