FROM ruby:2.3-alpine MAINTAINER Jason Kulatunga RUN mkdir -p /srv/capsulecd COPY . /srv/capsulecd workdir /srv/capsulecd RUN apk --update --no-cache add \ build-base ruby-dev libc-dev linux-headers \ openssl-dev libxml2-dev libxslt-dev openssh git && \ mkdir ~/.ssh && \ ssh-keyscan github.com >> ~/.ssh/known_hosts && \ bundle install --without test chef CMD ["sh"] #CMD ["capsulecd", "start", "--runner", "circleci", "--source", "github", "--package_type", "ruby"]