From 34166dacbabdee0ea8a4dbd61942104be9c1e66e Mon Sep 17 00:00:00 2001 From: Mads Nielsen Date: Fri, 31 Aug 2018 17:11:46 +0200 Subject: [PATCH] Added very simple dockerfile. #19 --- Dockerfile | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..790fc1e --- /dev/null +++ b/Dockerfile @@ -0,0 +1,18 @@ +FROM ruby:2.5 +RUN ruby --version +RUN apt-get update && \ + apt-get install cmake -y +WORKDIR /tmp +RUN gem install docopt +RUN gem install rugged + +RUN git clone https://github.com/Praqma/PlusBump.git -b rebirth . +RUN gem build plusbump.gemspec +RUN gem install plusbump-2.0.pre.alpha.gem + +RUN mkdir -p /repo +WORKDIR /repo +VOLUME /repo + +ENTRYPOINT ["plusbump"] +CMD ["--help"]