mirror of
https://github.com/yaml/libyaml.git
synced 2026-01-26 11:14:28 +00:00
Docker test file changes (added alpine testing)
Also reworked all the dockerfiles to be cleaner and consistent: * Fixed some indentation * Removed vim dependencies * Collapsed RUN steps for less build layers * Renamed dockerfiles/ to shorter and more adaptable docker/
This commit is contained in:
parent
a70c7f36cb
commit
a9a9b271fe
26
docker/alpine-3.7
Normal file
26
docker/alpine-3.7
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"]
|
||||
@ -5,21 +5,22 @@ 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
|
||||
automake \
|
||||
gcc \
|
||||
git \
|
||||
make \
|
||||
libtool \
|
||||
perl-core && \
|
||||
mkdir /libyaml
|
||||
|
||||
RUN mkdir /libyaml
|
||||
COPY . /libyaml/
|
||||
WORKDIR /libyaml
|
||||
|
||||
ENV LD_LIBRARY_PATH=/libyaml/src/.libs
|
||||
|
||||
RUN ./bootstrap
|
||||
RUN ./configure
|
||||
RUN make
|
||||
RUN make install
|
||||
RUN ./bootstrap && \
|
||||
./configure && \
|
||||
make && \
|
||||
make install
|
||||
|
||||
CMD ["bash"]
|
||||
@ -12,18 +12,18 @@ RUN apt-get update && \
|
||||
autoconf \
|
||||
build-essential \
|
||||
git \
|
||||
libtool \
|
||||
vim && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
libtool && \
|
||||
rm -rf /var/lib/apt/lists/* && \
|
||||
mkdir /libyaml
|
||||
|
||||
RUN mkdir /libyaml
|
||||
COPY . /libyaml/
|
||||
WORKDIR /libyaml
|
||||
|
||||
ENV LD_LIBRARY_PATH=/libyaml/src/.libs
|
||||
|
||||
RUN ./bootstrap
|
||||
RUN ./configure
|
||||
RUN make
|
||||
RUN make install
|
||||
RUN ./bootstrap && \
|
||||
./configure && \
|
||||
make && \
|
||||
make install
|
||||
|
||||
CMD ["bash"]
|
||||
@ -7,18 +7,18 @@ RUN apt-get update && \
|
||||
autoconf \
|
||||
build-essential \
|
||||
git \
|
||||
libtool \
|
||||
vim && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
libtool && \
|
||||
rm -rf /var/lib/apt/lists/* && \
|
||||
mkdir /libyaml
|
||||
|
||||
RUN mkdir /libyaml
|
||||
COPY . /libyaml/
|
||||
WORKDIR /libyaml
|
||||
|
||||
ENV LD_LIBRARY_PATH=/libyaml/src/.libs
|
||||
|
||||
RUN ./bootstrap
|
||||
RUN ./configure
|
||||
RUN make
|
||||
RUN make install
|
||||
RUN ./bootstrap && \
|
||||
./configure && \
|
||||
make && \
|
||||
make install
|
||||
|
||||
CMD ["bash"]
|
||||
Loading…
x
Reference in New Issue
Block a user