Skip to content

Commit 5af0b1b

Browse files
committed
Add a README section on image builds
1 parent e64af69 commit 5af0b1b

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

README.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,22 @@ Use the [Helm](https://helm.sh/) chart:
3838
helm install chart/
3939
```
4040

41-
Or user the docker image [maxrocketinternet/k8s-event-logger](https://hub.docker.com/r/maxrocketinternet/k8s-event-logger)
41+
Or use the docker image [maxrocketinternet/k8s-event-logger][image]
42+
43+
[image]: https://hub.docker.com/r/maxrocketinternet/k8s-event-logger
44+
45+
#### Building a container image
46+
47+
If you're unable to use the [prebuilt][image] docker image, you can build it yourself:
48+
49+
```sh
50+
make IMG=your.docker.registry/k8s-event-logger image
51+
```
52+
53+
This uses `docker buildx` to create a [multi-platform image][]. To set up your build host system to be able to build these images, see [this guide][qemu-binfmt].
54+
55+
[multi-platform image]: https://docs.docker.com/build/building/multi-platform/
56+
[qemu-binfmt]: https://docs.nvidia.com/datacenter/cloud-native/playground/x-arch.html
4257

4358
### Testing
4459

0 commit comments

Comments
 (0)