zaye/deps/libyaml/docker/alpine-3.7
torque 11e8fad44e
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:   "???"
2024-03-07 22:19:16 -08:00

27 lines
421 B
Docker

# 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"]