Source commit: a687c9883a0f7bafcbd43836bc484a1920a05029 Public tree identity: sha256:763e679bed9bbb2b69561e13bec82913af2a523960b32194fa13373e10d5a297
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.
|