1
0
mirror of https://github.com/jessfraz/dockerfiles.git synced 2025-04-17 01:22:44 +02:00
Jess Frazelle 8ec0684525
missed one
Signed-off-by: Jess Frazelle <me@jessfraz.com>
2016-09-22 02:09:01 -07:00

30 lines
665 B
Docker

FROM mhart/alpine-node:5
RUN apk add --no-cache \
ca-certificates \
libxml2 \
libxslt \
ruby
RUN set -x \
&& apk add --no-cache --virtual .build-deps \
build-base \
cmake \
git \
libxml2-dev \
libxslt-dev \
mariadb-dev \
ruby-dev \
&& git clone --depth 1 https://github.com/srcclr/commit-watcher.git /usr/src/commit-watcher \
&& cd /usr/src/commit-watcher \
&& gem install bigdecimal bundler io-console --no-rdoc --no-ri \
&& bundle config build.nokogiri --use-system-libraries \
&& bundle install \
&& apk del .build-deps
WORKDIR /usr/src/commit-watcher
COPY database.yml /usr/src/commit-watcher/config/database.yml
CMD ["./scripts/deploy"]