1# vim: ft=dockerfile
2FROM fedora:25
3MAINTAINER 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
7RUN dnf install -y \
8    automake \
9    gcc \
10    git \
11    make \
12    libtool \
13    perl-core
14
15RUN mkdir /libyaml
16COPY . /libyaml/
17WORKDIR /libyaml
18
19ENV LD_LIBRARY_PATH=/libyaml/src/.libs
20
21RUN ./bootstrap
22RUN ./configure
23RUN make
24RUN make install
25CMD ["bash"]
26