]>
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 \ | |
a9a9b271 IN |
15 | libtool && \ |
16 | rm -rf /var/lib/apt/lists/* && \ | |
17 | mkdir /libyaml | |
80f22796 | 18 | |
80f22796 IC |
19 | COPY . /libyaml/ |
20 | WORKDIR /libyaml | |
21 | ||
048095f0 IN |
22 | ENV LD_LIBRARY_PATH=/libyaml/src/.libs |
23 | ||
a9a9b271 IN |
24 | RUN ./bootstrap && \ |
25 | ./configure && \ | |
26 | make && \ | |
27 | make install | |
28 | ||
80f22796 | 29 | CMD ["bash"] |