Files
Ingy döt Net a9a9b271fe Docker test file changes (added alpine testing)
Also reworked all the dockerfiles to be cleaner and consistent:

* Fixed some indentation
* Removed vim dependencies
* Collapsed RUN steps for less build layers
* Renamed dockerfiles/ to shorter and more adaptable docker/
2018-01-08 00:21:04 -08:00

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"]