diff --git a/hypervisor/.travis.yml b/hypervisor/.travis.yml index 9fa087185..4ee01a4e2 100644 --- a/hypervisor/.travis.yml +++ b/hypervisor/.travis.yml @@ -1,4 +1,12 @@ +sudo: required + language: c -compiler: - - gcc -script: make clean && make all + +services: + - docker + +before_install: + - docker ps -a + +script: + - docker build -t shrmrf/acrn-hypervisor . diff --git a/hypervisor/Dockerfile b/hypervisor/Dockerfile new file mode 100644 index 000000000..cf4ff04c6 --- /dev/null +++ b/hypervisor/Dockerfile @@ -0,0 +1,12 @@ +FROM clearlinux:base + +MAINTAINER shrmrf "https://github.com/shrmrf" + +# Install packages for building acrn +# RUN swupd update +RUN swupd bundle-add os-core-dev + +RUN git config --global http.sslVerify false + +COPY . /root/acrn-hypervisor +RUN cd /root/acrn-hypervisor; make clean && make PLATFORM=uefi