Source commit: ffc6f14a3723ea6aa513613a5406d737f21b201d Public tree identity: sha256:a77575c31dda8de868bc8de91d94df55c46f0b028e755e56a8cce8e27f72a42b
18 lines
571 B
Markdown
18 lines
571 B
Markdown
# Hello build
|
|
|
|
The primary Clusterflux example snapshots this project, compiles a real static C
|
|
executable in the declared offline Linux environment, and publishes the
|
|
executable as a retained artifact.
|
|
|
|
Run it with:
|
|
|
|
~~~bash
|
|
clusterflux bundle inspect --project examples/hello-build
|
|
clusterflux run --project examples/hello-build build
|
|
clusterflux artifact list --process <process-id>
|
|
clusterflux artifact download <artifact-id> --to ./hello-clusterflux
|
|
chmod +x ./hello-clusterflux
|
|
./hello-clusterflux
|
|
~~~
|
|
|
|
The final command prints hello from a real Clusterflux build.
|