Skip to content

Commit c32da8f

Browse files
committed
Add a note about using nix-docker-builder when on macOS/Darwin
1 parent 5b53280 commit c32da8f

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

modules/contributor/pages/testing-on-kubernetes.adoc

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ To shorten these, we have settled on a tool called https://github.com/kolloch/cr
2020
This tool uses the https://nixos.org/[Nix package manager] to cache intermediate build steps and only recompile what has actually changed, thus significantly shortening build times.
2121

2222
== Installation
23+
2324
Due to the nature of how Nix works, all the setup steps are defined in the operator repositories and automatically applied when you start using this workflow.
2425

2526
The only prerequisite you need to install is the actual Nix package manager - you can find installation instructions and additional documentation on the https://nixos.org/download.html[Nix website].
@@ -47,6 +48,12 @@ Please adjust the number of `cores` to your system and set the `max-jobs` to e.g
4748

4849
Just installing Nix does not affect your system much, as it keeps all its configuration and installed packages separate from other package managers and you won't even notice it is there, unless you actually start using it.
4950

51+
=== macOS
52+
53+
The Docker images need to be built on a Linux host. Nix can automatically delegate the build to a remote worker, but it must be configured to do so.
54+
55+
https://github.com/stackabletech/nix-docker-builder can set this up for you.
56+
5057
== Using
5158

5259
The build and deploy steps for installing and running the operator are defined in the `Tiltfile` in the operators repository.

0 commit comments

Comments
 (0)