Source commit: 09ca780bd67a00467e78139cf38466b8201b66ca Public tree identity: sha256:2f744c260b5fc2cf074ad9129f97f87f03714902e5b9fe174128afdc342ec2d0
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.
|