FROM ruby:latest MAINTAINER Jessica Frazelle # update gems RUN gem update --system \ && gem update \ && gem install syck # install idonethis from git RUN git clone https://github.com/influitive/idonethis.git /idonethis \ && cd /idonethis \ && rake build \ && gem install /idonethis/pkg/idonethis-0.1.0.gem \ && rm -rf /idonethis \ && { \ echo '---'; \ echo 'sender: GmailSender'; \ } > /root/.idonethisrc COPY main.sh /main.sh ENTRYPOINT ["/main.sh"]