mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-23 11:31:49 +01:00
add windmill
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
This commit is contained in:
parent
0e54da59e3
commit
b083c4224e
|
@ -11,19 +11,22 @@ RUN apk add --no-cache \
|
||||||
|
|
||||||
RUN set -x \
|
RUN set -x \
|
||||||
&& apk add --no-cache --virtual .build-deps \
|
&& apk add --no-cache --virtual .build-deps \
|
||||||
build-base \
|
build-base \
|
||||||
cmake \
|
cmake \
|
||||||
libxml2-dev \
|
libxml2-dev \
|
||||||
libxslt-dev \
|
libxslt-dev \
|
||||||
ruby-json \
|
pkgconfig \
|
||||||
|
ruby-json \
|
||||||
&& git clone --depth 1 https://github.com/srcclr/commit-watcher.git /usr/src/commit-watcher \
|
&& git clone --depth 1 https://github.com/srcclr/commit-watcher.git /usr/src/commit-watcher \
|
||||||
&& cd /usr/src/commit-watcher \
|
&& ( \
|
||||||
&& gem install \
|
cd /usr/src/commit-watcher \
|
||||||
activesupport-json_encoder \
|
&& gem install \
|
||||||
--no-rdoc --no-ri \
|
activesupport-json_encoder \
|
||||||
&& bundle config build.nokogiri --use-system-libraries \
|
--no-rdoc --no-ri \
|
||||||
&& bundle update sdoc \
|
&& bundle config build.nokogiri --use-system-libraries \
|
||||||
&& bundle install \
|
&& bundle update sdoc \
|
||||||
|
&& bundle install \
|
||||||
|
) \
|
||||||
&& apk del .build-deps
|
&& apk del .build-deps
|
||||||
|
|
||||||
WORKDIR /usr/src/commit-watcher
|
WORKDIR /usr/src/commit-watcher
|
||||||
|
|
30
windmill/Dockerfile
Normal file
30
windmill/Dockerfile
Normal file
|
@ -0,0 +1,30 @@
|
||||||
|
FROM ruby:alpine
|
||||||
|
|
||||||
|
RUN apk add --no-cache \
|
||||||
|
ca-certificates \
|
||||||
|
libxml2 \
|
||||||
|
libxslt \
|
||||||
|
postgresql-libs \
|
||||||
|
sqlite-libs
|
||||||
|
|
||||||
|
RUN set -x \
|
||||||
|
&& apk add --no-cache --virtual .build-deps \
|
||||||
|
build-base \
|
||||||
|
git \
|
||||||
|
libxml2-dev \
|
||||||
|
libxslt-dev \
|
||||||
|
pkgconfig \
|
||||||
|
postgresql-dev \
|
||||||
|
sqlite-dev \
|
||||||
|
&& git clone --depth 1 https://github.com/heroku/windmill.git /usr/src/windmill \
|
||||||
|
&& ( \
|
||||||
|
cd /usr/src/windmill \
|
||||||
|
&& sed -i 's/ruby "2.2.3"/ruby "2.5.1"/' Gemfile \
|
||||||
|
&& bundle config build.nokogiri --use-system-libraries \
|
||||||
|
&& bundle install \
|
||||||
|
) \
|
||||||
|
&& apk del .build-deps
|
||||||
|
|
||||||
|
WORKDIR /usr/src/windmill
|
||||||
|
|
||||||
|
CMD [ "rake", "db:setup", "&&", "ruby", "server.rb" ]
|
Loading…
Reference in New Issue
Block a user