Signed-off-by: Jess Frazelle <acidburn@google.com>
This commit is contained in:
Jess Frazelle 2017-05-30 22:03:04 -04:00
parent f20f588073
commit e1ae3827f0
No known key found for this signature in database
GPG Key ID: 18F3685C0022BFF3

View File

@ -1,4 +1,4 @@
FROM ruby:2.3-alpine
FROM ruby:alpine
RUN apk add --no-cache \
ca-certificates \
@ -15,11 +15,15 @@ RUN set -x \
cmake \
libxml2-dev \
libxslt-dev \
ruby-json \
&& git clone --depth 1 https://github.com/srcclr/commit-watcher.git /usr/src/commit-watcher \
&& cd /usr/src/commit-watcher \
&& gem install \
activesupport-json_encoder \
--no-rdoc --no-ri \
&& bundle config build.nokogiri --use-system-libraries \
&& bundle update sdoc \
&& bundle install \
&& gem install activesupport-json_encoder --no-rdoc --no-ri \
&& apk del .build-deps
WORKDIR /usr/src/commit-watcher