mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-06-28 16:27:50 +00:00
ci: snap: build targets that not need sudo first
`sudo` is required to build the image, once the image has been built the permission of some directories may change, let's build first the targerts that not need `sudo` Signed-off-by: Julio Montes <julio.montes@intel.com>
This commit is contained in:
parent
a115338ddd
commit
d054841430
@ -69,7 +69,7 @@ parts:
|
|||||||
tar -xf ${tarfile} --strip-components=1
|
tar -xf ${tarfile} --strip-components=1
|
||||||
|
|
||||||
image:
|
image:
|
||||||
after: [godeps]
|
after: [godeps, qemu, kernel]
|
||||||
plugin: nil
|
plugin: nil
|
||||||
build-packages:
|
build-packages:
|
||||||
- docker.io
|
- docker.io
|
||||||
@ -171,7 +171,7 @@ parts:
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
kernel:
|
kernel:
|
||||||
after: [godeps, image]
|
after: [godeps]
|
||||||
plugin: nil
|
plugin: nil
|
||||||
build-packages:
|
build-packages:
|
||||||
- libelf-dev
|
- libelf-dev
|
||||||
@ -208,7 +208,7 @@ parts:
|
|||||||
|
|
||||||
qemu:
|
qemu:
|
||||||
plugin: make
|
plugin: make
|
||||||
after: [godeps, runtime]
|
after: [godeps]
|
||||||
build-packages:
|
build-packages:
|
||||||
- gcc
|
- gcc
|
||||||
- python3
|
- python3
|
||||||
|
Loading…
Reference in New Issue
Block a user