blob: 36e58ab0186d11f4b94656e7cb253d2a52b613c1 (
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
|
# vim: ft=dockerfile
FROM fedora:25
MAINTAINER Ian Cordasco <graffatcolmingov@gmail.com>
# NOTE(sigmavirus24): We need "perl-core" here for the "prove" binary
# required by the test-all Makefile target
RUN dnf install -y \
automake \
gcc \
git \
make \
libtool \
perl-core && \
mkdir /libyaml
COPY . /libyaml/
WORKDIR /libyaml
ENV LD_LIBRARY_PATH=/libyaml/src/.libs
RUN ./bootstrap && \
./configure && \
make && \
make install
CMD ["bash"]
|