subrepo: subdir: "deps/libyaml" merged: "2c891fc" upstream: origin: "https://github.com/yaml/libyaml.git" branch: "0.2.5" commit: "2c891fc" git-subrepo: version: "0.4.6" origin: "???" commit: "???"
25 lines
441 B
Docker
25 lines
441 B
Docker
# vim: ft=dockerfile
|
|
FROM ubuntu:16.04
|
|
MAINTAINER Ian Cordasco <graffatcolmingov@gmail.com>
|
|
|
|
RUN apt-get update && \
|
|
apt-get install -y \
|
|
autoconf \
|
|
build-essential \
|
|
git \
|
|
libtool && \
|
|
rm -rf /var/lib/apt/lists/* && \
|
|
mkdir /libyaml
|
|
|
|
COPY . /libyaml/
|
|
WORKDIR /libyaml
|
|
|
|
ENV LD_LIBRARY_PATH=/libyaml/src/.libs
|
|
|
|
RUN ./bootstrap && \
|
|
./configure && \
|
|
make && \
|
|
make install
|
|
|
|
CMD ["bash"]
|