2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-31 06:15:24 +00:00

alpine: compile all tests

Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>
This commit is contained in:
Andrei Vagin
2017-10-02 21:45:48 +03:00
parent 7678f440ca
commit 061a407ce3
3 changed files with 12 additions and 6 deletions

View File

@@ -20,8 +20,8 @@ RUN apk update && apk add \
COPY . /criu
WORKDIR /criu
ENV CC="ccache $CC" CCACHE_DIR=/tmp/.ccache CCACHE_NOCOMPRESS=1 $ENV1=yes
RUN mv .ccache /tmp && make mrproper && ccache -s && \
date && make -j $(nproc) CC="$CC" && date
RUN mv .ccache /tmp && make mrproper && ccache -s && ccache -z &&\
date && make -j $(nproc) CC="$CC" && date && ccache -s
# Run a test
RUN apk add py-yaml \
@@ -29,5 +29,8 @@ RUN apk add py-yaml \
ip6tables \
iptables \
iproute2 \
&& pip install protobuf \
&& make -C test/zdtm/static env00
tar \
bash
RUN pip install protobuf ipaddr
RUN make -C test/zdtm