2014-09-13 03:01:39 +02:00
|
|
|
FROM ruby:latest
|
2014-09-11 19:52:11 +02:00
|
|
|
MAINTAINER Jessica Frazelle <jess@docker.com>
|
|
|
|
|
|
|
|
# update gems
|
2015-06-07 02:48:44 +02:00
|
|
|
RUN gem update --system \
|
|
|
|
&& gem update \
|
|
|
|
&& gem install syck
|
2014-09-11 19:52:11 +02:00
|
|
|
|
|
|
|
# install idonethis from git
|
2014-09-15 18:33:37 +02:00
|
|
|
RUN git clone https://github.com/influitive/idonethis.git /idonethis
|
2014-09-11 19:52:11 +02:00
|
|
|
RUN cd /idonethis; rake build; gem install /idonethis/pkg/idonethis-0.1.0.gem;
|
|
|
|
|
2015-06-07 02:48:44 +02:00
|
|
|
COPY .idonethisrc /root/.idonethisrc
|
|
|
|
COPY main.sh /main.sh
|
2014-09-11 19:52:11 +02:00
|
|
|
|
2015-06-07 02:48:44 +02:00
|
|
|
ENTRYPOINT ["/main.sh"]
|