FROM ruby:latest ENV COMPOSE_VERSION 1.7.1 ENV MACHINE_VERSION 0.7.0 RUN apt-get update -q \ && apt-get install -y -q --no-install-recommends curl ca-certificates \ && curl -o /usr/local/bin/docker-compose -L \ "https://github.com/docker/compose/releases/download/${COMPOSE_VERSION}/docker-compose-Linux-x86_64" \ && chmod +x /usr/local/bin/docker-compose COPY ./Gemfile Gemfile RUN bundle install