criu/scripts/build/Dockerfile.alpine
Andrei Vagin 0ecd9c2b28 travis: execute tests on Alpine
"zdtm.py run -a" doesn't work on Alpine:
find: unrecognized: -executable

So run zdtm/static/env00 for now to be sure that
it is not broken at all.

travis-ci: success for travis: execute tests on Alpine
Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>
Signed-off-by: Pavel Emelyanov <xemul@virtuozzo.com>
2017-03-02 00:19:03 +03:00

29 lines
608 B
Text

FROM alpine:3.5
ARG CC=gcc
RUN apk update && apk add \
build-base \
coreutils \
git \
protobuf-c-dev \
protobuf-dev \
python \
libaio-dev \
libcap-dev \
libnl3-dev \
pkgconfig \
libnet-dev \
$CC
COPY . /criu
WORKDIR /criu
RUN make mrproper && make -j $(nproc) CC=$CC
# to run tests
RUN apk add py-yaml \
py-pip \
ip6tables \
iptables \
iproute2
RUN pip install protobuf
RUN make -C test/zdtm/static env00