git subrepo clone --branch=0.2.5 https://github.com/yaml/libyaml.git deps/libyaml
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: "???"
This commit is contained in:
17
deps/libyaml/docker/README.mkd
vendored
Normal file
17
deps/libyaml/docker/README.mkd
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
# LibYAML Dockerfiles
|
||||
|
||||
This directory is a collection of dockerfiles that can be used when developing
|
||||
and testing LibYAML.
|
||||
|
||||
The current list is supports:
|
||||
|
||||
- Ubuntu 16.04
|
||||
- Ubuntu 14.04
|
||||
|
||||
## Example Usage
|
||||
|
||||
```bash
|
||||
$ docker pull ubuntu
|
||||
$ docker build -t libyaml-ubuntu:16.04 -f dockerfiles/ubuntu-16.04 .
|
||||
$ docker run -it libyaml-ubuntu:16.04 make test
|
||||
```
|
26
deps/libyaml/docker/alpine-3.7
vendored
Normal file
26
deps/libyaml/docker/alpine-3.7
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
# vim: ft=dockerfile
|
||||
FROM alpine:3.7
|
||||
MAINTAINER Ingy döt Net <ingy@ingy.net>
|
||||
|
||||
RUN apk update && \
|
||||
apk add --no-cache \
|
||||
autoconf \
|
||||
automake \
|
||||
build-base \
|
||||
cmake \
|
||||
git \
|
||||
libtool \
|
||||
perl-dev && \
|
||||
mkdir /libyaml
|
||||
|
||||
COPY . /libyaml/
|
||||
WORKDIR /libyaml
|
||||
|
||||
ENV LD_LIBRARY_PATH=/libyaml/src/.libs
|
||||
|
||||
RUN ./bootstrap && \
|
||||
./configure && \
|
||||
make && \
|
||||
make install
|
||||
|
||||
CMD ["bash"]
|
26
deps/libyaml/docker/fedora-25
vendored
Normal file
26
deps/libyaml/docker/fedora-25
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
# vim: ft=dockerfile
|
||||
FROM fedora:25
|
||||
MAINTAINER Ian Cordasco <graffatcolmingov@gmail.com>
|
||||
|
||||
# NOTE(sigmavirus24): We need "perl-core" here for the "prove" binary
|
||||
# required by the test-all Makefile target
|
||||
RUN dnf install -y \
|
||||
automake \
|
||||
gcc \
|
||||
git \
|
||||
make \
|
||||
libtool \
|
||||
perl-core && \
|
||||
mkdir /libyaml
|
||||
|
||||
COPY . /libyaml/
|
||||
WORKDIR /libyaml
|
||||
|
||||
ENV LD_LIBRARY_PATH=/libyaml/src/.libs
|
||||
|
||||
RUN ./bootstrap && \
|
||||
./configure && \
|
||||
make && \
|
||||
make install
|
||||
|
||||
CMD ["bash"]
|
29
deps/libyaml/docker/ubuntu-14.04
vendored
Normal file
29
deps/libyaml/docker/ubuntu-14.04
vendored
Normal file
@@ -0,0 +1,29 @@
|
||||
# vim: ft=dockerfile
|
||||
FROM ubuntu:14.04
|
||||
MAINTAINER Ian Cordasco <graffatcolmingov@gmail.com>
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install -y \
|
||||
software-properties-common \
|
||||
python-software-properties && \
|
||||
add-apt-repository ppa:git-core/ppa && \
|
||||
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"]
|
24
deps/libyaml/docker/ubuntu-16.04
vendored
Normal file
24
deps/libyaml/docker/ubuntu-16.04
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
# 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"]
|
Reference in New Issue
Block a user