]>
Commit | Line | Data |
---|---|---|
2fc6dc08 IN |
1 | # vim: ft=dockerfile |
2 | FROM fedora:25 | |
3 | MAINTAINER Ian Cordasco <graffatcolmingov@gmail.com> | |
4 | ||
5 | # NOTE(sigmavirus24): We need "perl-core" here for the "prove" binary | |
6 | # required by the test-all Makefile target | |
7 | RUN dnf install -y \ | |
8 | automake \ | |
9 | gcc \ | |
10 | git \ | |
11 | make \ | |
12 | libtool \ | |
13 | perl-core | |
14 | ||
15 | RUN mkdir /libyaml | |
16 | COPY . /libyaml/ | |
17 | WORKDIR /libyaml | |
18 | ||
19 | ENV LD_LIBRARY_PATH=/libyaml/src/.libs | |
20 | ||
21 | RUN ./bootstrap | |
22 | RUN ./configure | |
23 | RUN make | |
24 | RUN make install | |
25 | CMD ["bash"] |