mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-01-23 02:14:37 +00:00
# Build criu in a docker container $ make direct-build # Execute tests in a docker container $ make direct-test Signed-off-by: Andrey Vagin <avagin@openvz.org> Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
18 lines
408 B
Docker
18 lines
408 B
Docker
FROM ubuntu:utopic
|
|
|
|
RUN apt-get update && apt-get install -y \
|
|
build-essential \
|
|
protobuf-c-compiler \
|
|
libprotobuf-c0-dev \
|
|
libprotobuf-dev \
|
|
bsdmainutils \
|
|
protobuf-compiler \
|
|
python-minimal \
|
|
libaio-dev \
|
|
iptables
|
|
|
|
COPY . /criu
|
|
WORKDIR /criu
|
|
|
|
RUN make clean && make -j $(nproc)
|
|
RUN make -j $(nproc) -C test ZDTM_ARGS="-C -x static/rtc -x mountpoint -x static/cgroup02 -x tcp6 -x tcpbuf6"
|