xref: /freebsd/contrib/libyaml/docker/ubuntu-14.04 (revision 24e4dcf4ba5e9dedcf89efd358ea3e1fe5867020)
1# vim: ft=dockerfile
2FROM ubuntu:14.04
3MAINTAINER Ian Cordasco <graffatcolmingov@gmail.com>
4
5RUN apt-get update && \
6    apt-get install -y \
7        software-properties-common \
8        python-software-properties && \
9    add-apt-repository ppa:git-core/ppa && \
10    apt-get update && \
11    apt-get install -y \
12        autoconf \
13        build-essential \
14        git \
15        libtool && \
16    rm -rf /var/lib/apt/lists/* && \
17    mkdir /libyaml
18
19COPY . /libyaml/
20WORKDIR /libyaml
21
22ENV LD_LIBRARY_PATH=/libyaml/src/.libs
23
24RUN ./bootstrap && \
25    ./configure && \
26    make && \
27    make install
28
29CMD ["bash"]
30