Source commit: b215a8f6e506fafa38755d1c14e89e5a52c82f9f Public tree identity: sha256:23ba19e9f6e902cbfb4ed34cd7f9e1aaa39945e9b61946b879d7254b3f033502
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.
|