Skip to content

Commit c3a8d50

Browse files
author
Thomas Zeller
committed
Remove OCI sections from BUILDING.md
1 parent 6b5586b commit c3a8d50

File tree

1 file changed

+0
-27
lines changed

1 file changed

+0
-27
lines changed

BUILDING.md

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -30,33 +30,6 @@ To get it, run:
3030
cargo install cargo-make
3131
```
3232

33-
### OCI Artifacts
34-
35-
Building a kit results in building OCI artifacts, there are two ways to build these artifacts: `crane` or `docker` with the `containerd-snapshotter` feature enabled.
36-
37-
We recommend using `crane` (and `krane`) over `docker` as it has shown better performance in our testing.
38-
39-
#### Docker
40-
We recommend [Docker](https://docs.docker.com/install/#supported-platforms) 20.10.10 or later. The default seccomp policy of older versions of Docker do not support the `clone3` syscall in recent versions of Fedora or Ubuntu, on which the Bottlerocket SDK is based.
41-
Builds rely on Docker's integrated BuildKit support, which has received many fixes and improvements in newer versions.
42-
43-
You'll need to have Docker installed and running, with your user account added to the `docker` group.
44-
Docker's [post-installation steps for Linux](https://docs.docker.com/install/linux/linux-postinstall/) will walk you through that.
45-
You'll also need to enable the containerd-snapshotter and buildkit features for your docker daemon. This is required to ensure docker compatibility with OCI Images (which kits are stored in).
46-
The following configuration is needed in your `/etc/docker/daemon.json`
47-
```json
48-
{
49-
"features": {
50-
"buildkit": true,
51-
"containerd-snapshotter": true
52-
}
53-
}
54-
```
55-
#### Crane
56-
[Crane](https://github.com/google/go-containerregistry/blob/main/cmd/crane/README.md) is a tool for interacting with remote images and registries.. It does not require a daemon and thus you don't need the above Docker features to use it. Twoliter supports utilizing `crane` (or `krane`) instead of `docker` if it is installed.
57-
58-
The installation instructions for [crane](https://github.com/google/go-containerregistry/tree/main/cmd/crane) should help you set it up for use with Twoliter.
59-
6033
## Build the kernel kit
6134

6235
Building the kernel kit can be done by using the makefile targets.

0 commit comments

Comments
 (0)