Nerves.Artifact.BuildRunners.Docker.build
You're seeing just the function
build
, go back to Nerves.Artifact.BuildRunners.Docker module for more information.
Specs
build(Nerves.Package.t(), Nerves.Package.t(), term()) :: :ok
Create an artifact for the package
Opts:
make_args:
- Extra arguments to be passed to make.
For example:
You can configure the number of parallel jobs that buildroot can use for execution. This is useful for situations where you may have a machine with a lot of CPUs but not enough ram.
# mix.exs
defp nerves_package do
[
# ...
build_runner_opts: [make_args: ["PARALLEL_JOBS=8"]],
]
end