]>
Commit | Line | Data |
---|---|---|
80f22796 IC |
1 | # vim: ft=dockerfile |
2 | FROM ubuntu:14.04 | |
87a90e0b | 3 | MAINTAINER Ian Cordasco <graffatcolmingov@gmail.com> |
80f22796 IC |
4 | |
5 | RUN apt-get update && \ | |
aa10f657 IN |
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 && \ | |
80f22796 IC |
11 | apt-get install -y \ |
12 | autoconf \ | |
13 | build-essential \ | |
14 | git \ | |
15 | libtool \ | |
16 | vim && \ | |
17 | rm -rf /var/lib/apt/lists/* | |
18 | ||
19 | RUN mkdir /libyaml | |
20 | COPY . /libyaml/ | |
21 | WORKDIR /libyaml | |
22 | ||
048095f0 IN |
23 | ENV LD_LIBRARY_PATH=/libyaml/src/.libs |
24 | ||
80f22796 IC |
25 | RUN ./bootstrap |
26 | RUN ./configure | |
27 | RUN make | |
28 | RUN make install | |
29 | CMD ["bash"] |