dockerfiles/idonethis/Dockerfile
Jessica Frazelle f2b0d9ce8a update various files
Signed-off-by: Jessica Frazelle <princess@docker.com>
2015-07-27 00:11:04 -07:00

23 lines
485 B
Docker

FROM ruby:latest
MAINTAINER Jessica Frazelle <jess@docker.com>
# 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"]