-
Notifications
You must be signed in to change notification settings - Fork 39
Update prepare_environment.md #36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -32,6 +32,26 @@ sudo usermod -aG docker $USER | |
|
|
||
| **You will need to log out and lock back in** for user changes to take effect. | ||
|
|
||
| You can also setup this environment on CBL-Mariner | ||
| ```bash | ||
| # Install required dependencies. | ||
| sudo dnf -y install git make tar wget curl rpm golang genisoimage python bison gawk glibc-devel binutils kernel-headers | ||
| ``` | ||
| You may want to install rpmlint, in this case you need to add the extended repo in /etc/yum.repos.d/ as mariner-extended.repo | ||
| ```bash | ||
| [mariner-official-extended] | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We publish this file via the Unless there is a need to edit the repo file that should work instead of manually adding the repo.
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Good suggestion. Corrected. |
||
| name=CBL-Mariner Official Extended $releasever $basearch | ||
| baseurl=https://packages.microsoft.com/cbl-mariner/$releasever/prod/extended/$basearch | ||
| gpgkey=file:///etc/pki/rpm-gpg/MICROSOFT-RPM-GPG-KEY file:///etc/pki/rpm-gpg/MICROSOFT-METADATA-GPG-KEY | ||
| gpgcheck=1 | ||
| repo_gpgcheck=1 | ||
| enabled=1 | ||
| skip_if_unavailable=True | ||
| sslverify=1 | ||
| ``` | ||
|
|
||
| At the moment docker does not support Mariner. | ||
|
|
||
| ## Clone CBL-Mariner and Build the Toolkit | ||
|
|
||
| To build the CBL-MarinerTutorials repository you will need the same toolkit and makefile from the CBL-Mariner repository. So, first clone CBL-Mariner, and then checkout the stable release of interest (e.g. 1.0-stable or 2.0-stable), then build the toolkit. | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Andrew just updated our core docs as well: microsoft/azurelinux#5063
I'm thinking we may want to unify to a single source of truth (ie hyperlink back to the core repo for some of this).