Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
apertis-image-recipes
Manage
Activity
Members
Labels
Plan
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
infrastructure
apertis-image-recipes
Merge requests
!113
Newcomers introduction
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Newcomers introduction
wip/em/image-building-for-newcomers
into
apertis/v2019pre
Overview
15
Commits
6
Pipelines
14
Changes
5
All threads resolved!
Show all comments
Merged
Emanuele Aina
requested to merge
wip/em/image-building-for-newcomers
into
apertis/v2019pre
6 years ago
Overview
15
Commits
6
Pipelines
14
Changes
5
All threads resolved!
Show all comments
Expand
0
0
Merge request reports
Compare
apertis/v2019pre
version 22
965506f4
5 years ago
version 21
a5f0bc18
5 years ago
version 20
fccb57c6
5 years ago
version 19
827024ae
5 years ago
version 18
44a70529
5 years ago
version 17
d92ff93c
5 years ago
version 16
44a70529
5 years ago
version 15
66765721
5 years ago
version 14
ad691757
5 years ago
version 13
191cb675
5 years ago
version 12
78cf016e
5 years ago
version 11
1db7215f
5 years ago
version 10
1db7215f
5 years ago
version 9
1b80b331
5 years ago
version 8
5eb39395
6 years ago
version 7
447674dc
6 years ago
version 6
447674dc
6 years ago
version 5
483f09fd
6 years ago
version 4
96d71713
6 years ago
version 3
319626f4
6 years ago
version 2
319626f4
6 years ago
version 1
b6d57951
6 years ago
apertis/v2019pre (base)
and
version 7
latest version
9f46ffdc
6 commits,
5 years ago
version 22
965506f4
6 commits,
5 years ago
version 21
a5f0bc18
6 commits,
5 years ago
version 20
fccb57c6
6 commits,
5 years ago
version 19
827024ae
4 commits,
5 years ago
version 18
44a70529
4 commits,
5 years ago
version 17
d92ff93c
5 commits,
5 years ago
version 16
44a70529
4 commits,
5 years ago
version 15
66765721
4 commits,
5 years ago
version 14
ad691757
4 commits,
5 years ago
version 13
191cb675
4 commits,
5 years ago
version 12
78cf016e
4 commits,
5 years ago
version 11
1db7215f
4 commits,
5 years ago
version 10
1db7215f
9 commits,
5 years ago
version 9
1b80b331
11 commits,
5 years ago
version 8
5eb39395
6 commits,
6 years ago
version 7
447674dc
3 commits,
6 years ago
version 6
447674dc
131 commits,
6 years ago
version 5
483f09fd
13 commits,
6 years ago
version 4
96d71713
13 commits,
6 years ago
version 3
319626f4
12 commits,
6 years ago
version 2
319626f4
19 commits,
6 years ago
version 1
b6d57951
20 commits,
6 years ago
5 files
+
150
−
65
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
5
Search (e.g. *.vue) (Ctrl+P)
README deleted
100644 → 0
+
0
−
65
Options
General Information
===================
Here is the recipes collection for Apertis images creation.
To use these recipes, the debos tool needs to be installed: https://github.com/go-debos/debos
By default, this command will create a minimal Apertis image for Intel 64bit systems:
```
debos apertis-ospack.yaml && debos apertis-image-amd64.yaml
```
The target architecture can be changed with command line parameter '-t architecture:armhf'.
Architectures supported:
* arm64
* amd64
* armhf
Packages set selection via '-t type:minimal':
* minimal
* development
* sdk
Parameters for ospack and image versioning:
* suite: (-t suite:18.06)
* timestamp: (-t timestamp:`date +"%s"`)
Create the ospack for the SDK package set:
```
debos -t type:sdk -t architecture:amd64 -t suite:18.06 --scratchsize 10G --debug-shell apertis-ospack.yaml
```
Create SDK image from prepared ospack:
```
debos --scratchsize 10G -t type:sdk -t suite:18.06 apertis-image-sdk.yaml
```
Building in docker
==================
To ease testing on a wide variety of host systems (and building in Jenkins) a
docker file is provided which sets up the build environment. To build using
that:
* Pull and run the docker image:
You may pull and run the 18.06 image directly with:
```
RELEASE=18.06 # the Apertis release to be built
docker run --device /dev/kvm -w /recipes \
-u $(id -u) \
--group-add=$(getent group kvm | cut -d : -f 3) \
-i -v $(pwd):/recipes \
-t docker-registry.apertis.org/apertis/apertis-$RELEASE-image-builder \
debos apertis-ospack.yaml
```
Note: The examples are for the 18.06 release. You may change the
version if working on a different branch.
The image build will be run in the build docker image using your uid with the
additional kvm group (for debian based systems) to ensure debos/fakemachine can
use hardware virtualisation. For fedora/Redhat based systems the group-add is
likely not needed.
Loading