mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-12-02 14:28:08 +01:00
f2b0d9ce8a
Signed-off-by: Jessica Frazelle <princess@docker.com>
23 lines
485 B
Docker
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"]
|