Skip to content
Snippets Groups Projects
Commit 2d74b561 authored by Denis Pynkin's avatar Denis Pynkin
Browse files

Add LXC to 'development' and 'sdk' images


Add `lxc` and `lxc-template` packages.
Put `lxc-apertis-ostree` template to system folder allowing to create
container out of the box with command:
 lxc-create -t apertis-ostree --name <container_name> -- --ospack <url>

Signed-off-by: default avatarDenis Pynkin <denis.pynkin@collabora.com>
Reviewed-by: default avatarEmanuele Aina <emanuele.aina@collabora.co.uk>
Differential Revision: https://phabricator.apertis.org/D7447
parent 1b73ba1a
No related branches found
No related tags found
No related merge requests found
......@@ -93,6 +93,22 @@ actions:
{{- end -}}
{{- if eq $type "development" "sdk" }}
- action: apt
description: "LXC packages"
packages:
- lxc
- lxc-templates
- action: overlay
description: "Install the Apertis template to LXC"
source: lxc/lxc-apertis-ostree
destination: /usr/share/lxc/templates/lxc-apertis-ostree
- action: run
description: "Set executable bit on Apertis LXC template"
chroot: true
command: chmod a+x /usr/share/lxc/templates/lxc-apertis-ostree
- action: apt
description: "Development packages"
packages:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment