blob: 6a9a63672c6a1b0302a37599d12a2b5cd35dbdf9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
FROM debian:wheezy
# get dependencies
RUN apt-get update
RUN apt-get install -y build-essential
RUN apt-get install -y autoconf
RUN apt-get install -y libonig2
RUN apt-get install -y libtool
RUN apt-get install -y git
RUN apt-get install -y valgrind
RUN apt-get install -y bison
RUN apt-get install -y flex
RUN apt-get install -y ruby1.9.3
RUN gem install bundler
# get docs dependencies
COPY ./docs/Gemfile /app/docs/Gemfile
COPY ./docs/Gemfile.lock /app/docs/Gemfile.lock
WORKDIR /app/docs
RUN bundle install
# copy files
WORKDIR /app
COPY . /app
# build
RUN autoreconf -i
RUN ./configure
RUN make -j8
RUN make check
|