subrepo: subdir: "deps/libyaml" merged: "2c891fc" upstream: origin: "https://github.com/yaml/libyaml.git" branch: "0.2.5" commit: "2c891fc" git-subrepo: version: "0.4.6" origin: "???" commit: "???"
27 lines
509 B
Docker
27 lines
509 B
Docker
# 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"]
|