RAILS_ENV test ENV TEST_MYSQL_HOST muurb_db_1 RUN apt-get update -qq >/dev/null && apt-get install -qq wget >/ # mysql RUN apt-get install -qq mysql-client >/dev/null # phantomjs RUN test -f /tmp/phantomjs-2.1.1-linux-x86_64/bin/phantomjs || w RUN tar xjf /tmp/phantomjs-2.1.1-linux-x86_64.tar.bz2 -C /tmp RUN cp /tmp/phantomjs-2.1.1-linux-x86_64/bin/phantomjs /usr/ # rails RUN bundle install --quiet --path /tmp/bundle --without producti RUN bin/rake db:create >/dev/null && bin/rake db:migrate >/dev/n