Commit 8876c4bb authored by Andrew Vagin's avatar Andrew Vagin Committed by Pavel Emelyanov

travis: add a docker file to build on Alpine Linux

Signed-off-by: 's avatarAndrew Vagin <avagin@virtuozzo.com>
Signed-off-by: 's avatarPavel Emelyanov <xemul@virtuozzo.com>
parent 9c46e087
FROM alpine:3.4
RUN apk update && apk add \
build-base \
protobuf-c-dev \
protobuf-dev \
python \
libaio-dev \
libcap-dev \
libnl3-dev \
pkgconfig
COPY . /criu
WORKDIR /criu
RUN make clean && make -j $(nproc)
...@@ -11,6 +11,9 @@ binfmt_misc: ...@@ -11,6 +11,9 @@ binfmt_misc:
./binfmt_misc ./binfmt_misc
.PHONY: binfmt_misc .PHONY: binfmt_misc
alpine:
docker build -t criu-$@ -f Dockerfile.alpine ../..
%: Dockerfile.% qemu-user-static binfmt_misc %: Dockerfile.% qemu-user-static binfmt_misc
docker build -t criu-$@ -f $< ../.. docker build -t criu-$@ -f $< ../..
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment