Linux Format

BUILD YOUR OWN CBL-MARINER ISO

-

Microsoft is now offering precompile­d ISOs of CBLMariner. This saves the trouble of compiling either your own ISO or bootable VHDX/VHD image based on the project’s source code.

Still, if you prefer a DIY approach, you can compile your own CBL-Mariner ISO in Linux. Open the terminal in your chosen distro and run: sudo apt-get install buildessen­tial

git golang

Next, you need to use Git in order to clone the CBLMariner repository: git clone https://github.com/

microsoft/CBL-Mariner.git Once the repository has been cloned to your device, switch to the CBL-Mariner toolkit directory:

cd CBL-Mariner/toolkit

You can now execute the ISO build command with:

sudo make iso REBUILD_ TOOLS=y REBUILD_

PACKAGES=n CONFIG_ FILE=./imageconfi­gs/full.json

Once it’s complete, you’ll find your ISO in CBL-Mariner /toolkit/out/images/full.

If you would rather build your own VHDX image, run: sudo make image CONFIG_FILE=../

imageconfi­gs/demo_vhdx. json

If you prefer a VHD image, run the above command, but substitute vhd for vhdx .

To check the packages that go into your chosen image, you can view the full list at https://packages. microsoft.com/cblmariner/2.0/prod/.

As you’ll see, these are fairly spartan compared to the likes of Ubuntu Server, but exactly what you need for container images running on Azure.

Alongside Microsoft’s own tools, such as .NET and ASP. NET Core, the CBL-Mariner repository contains common Linux tools including Python 3, Kubernetes and Node.js.

 ?? ?? Microsoft now offers downloads of CBL-Mariner 2.0 ISOs but you can compile them yourself via the Linux terminal if you prefer.
Microsoft now offers downloads of CBL-Mariner 2.0 ISOs but you can compile them yourself via the Linux terminal if you prefer.

Newspapers in English

Newspapers from Australia