1# vim: ft=dockerfile 2FROM ubuntu:16.04 3MAINTAINER Ian Cordasco <graffatcolmingov@gmail.com> 4 5RUN apt-get update && \ 6 apt-get install -y \ 7 autoconf \ 8 build-essential \ 9 git \ 10 libtool \ 11 vim && \ 12 rm -rf /var/lib/apt/lists/* 13 14RUN mkdir /libyaml 15COPY . /libyaml/ 16WORKDIR /libyaml 17 18ENV LD_LIBRARY_PATH=/libyaml/src/.libs 19 20RUN ./bootstrap 21RUN ./configure 22RUN make 23RUN make install 24CMD ["bash"] 25