| 1 |
# vim: ft=dockerfile |
| 2 |
FROM ubuntu:14.04 |
| 3 |
MAINTAINER Ian Cordasco <[email protected]> |
| 4 |
|
| 5 |
RUN 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 |
|
| 19 |
COPY . /libyaml/ |
| 20 |
WORKDIR /libyaml |
| 21 |
|
| 22 |
ENV LD_LIBRARY_PATH=/libyaml/src/.libs |
| 23 |
|
| 24 |
RUN ./bootstrap && \ |
| 25 |
./configure && \ |
| 26 |
make && \ |
| 27 |
make install |
| 28 |
|
| 29 |
CMD ["bash"] |