FROM ubuntu:14.04 RUN sudo apt-get -yqq update RUN sudo apt-get -yqq install ruby1.9.3 RUN sudo gem install rake -v '10.3.2' --no-ri --no-rdoc RUN sudo gem install rspec -v '2.99.0' --no-ri --no-rdoc RUN sudo gem install specinfra -v '1.21.0' --no-ri --no-rdoc RUN sudo gem install serverspec -v '1.10.0' --no-ri --no-rdoc ADD ./spec.d /opt/spec.d RUN ( cd /opt/spec.d; rake spec ) CMD /bin/bash $ do