mirror of
https://github.com/YunoHost/yunohost-ci.git
synced 2024-09-03 20:05:53 +02:00
nesting buster containers
This commit is contained in:
parent
f3dbe54df9
commit
70dfb95e9c
1 changed files with 5 additions and 0 deletions
5
utils.sh
5
utils.sh
|
@ -84,6 +84,11 @@ rebuild_base_containers()
|
||||||
|
|
||||||
wait_container "$base_image_to_rebuild-tmp"
|
wait_container "$base_image_to_rebuild-tmp"
|
||||||
|
|
||||||
|
if [[ "$debian_version" == "buster" ]]
|
||||||
|
then
|
||||||
|
lxc config set "$base_image_to_rebuild-tmp" security.nesting true # Need this for buster because it is using apparmor
|
||||||
|
fi
|
||||||
|
|
||||||
lxc exec "$base_image_to_rebuild-tmp" -- /bin/bash -c "apt-get update"
|
lxc exec "$base_image_to_rebuild-tmp" -- /bin/bash -c "apt-get update"
|
||||||
lxc exec "$base_image_to_rebuild-tmp" -- /bin/bash -c "apt-get install curl -y"
|
lxc exec "$base_image_to_rebuild-tmp" -- /bin/bash -c "apt-get install curl -y"
|
||||||
# Install Git LFS, git comes pre installed with ubuntu image.
|
# Install Git LFS, git comes pre installed with ubuntu image.
|
||||||
|
|
Loading…
Reference in a new issue