Skip to content
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

Update prepare_environment.md #36

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions docs/getting_started/prepare_environment.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,19 @@ 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
Copy link
Contributor

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).

```
You may want to install rpmlint, in this case you first need to add the extended repo
```bash
sudo tdnf -y install mariner-repos-extended
sudo dnf -y install rpmlint
```

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.
Expand Down