xref: /freebsd/contrib/libyaml/docker/fedora-25 (revision 0f5c86ddb0257f4b7620f1d8e898289be30b19bf)
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    mkdir /libyaml
15
16COPY . /libyaml/
17WORKDIR /libyaml
18
19ENV LD_LIBRARY_PATH=/libyaml/src/.libs
20
21RUN ./bootstrap && \
22    ./configure && \
23    make && \
24    make install
25
26CMD ["bash"]
27