From e1ae3827f0d5eee7b92f393d1cd36b486bbaf755 Mon Sep 17 00:00:00 2001 From: Jess Frazelle Date: Tue, 30 May 2017 22:03:04 -0400 Subject: [PATCH] update Signed-off-by: Jess Frazelle --- commit-watcher/Dockerfile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/commit-watcher/Dockerfile b/commit-watcher/Dockerfile index 827ad2d..42b297f 100644 --- a/commit-watcher/Dockerfile +++ b/commit-watcher/Dockerfile @@ -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