mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-18 17:14:28 +00:00
"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>
29 lines
608 B
Text
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
|