You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: BUILDING.md
-27Lines changed: 0 additions & 27 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,33 +30,6 @@ To get it, run:
30
30
cargo install cargo-make
31
31
```
32
32
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
-
60
33
## Build the kernel kit
61
34
62
35
Building the kernel kit can be done by using the makefile targets.
0 commit comments