mirror of
https://github.com/falcosecurity/falco.git
synced 2025-07-06 03:16:46 +00:00
new: default (usage) command for falco builder image
Signed-off-by: Leonardo Di Donato <leodidonato@gmail.com>
This commit is contained in:
parent
7efec602e8
commit
2cda10caeb
20
docker/builder/root/usr/bin/usage
Executable file
20
docker/builder/root/usr/bin/usage
Executable file
@ -0,0 +1,20 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
gccversion=$(gcc --version | head -n1)
|
||||||
|
cppversion=$(g++ -dM -E -x c++ /dev/null | grep -F __cplusplus | cut -d' ' -f3)
|
||||||
|
cmakeversion=$(cmake --version | head -n1)
|
||||||
|
dockerversion=$(docker --version)
|
||||||
|
|
||||||
|
cat <<EOF
|
||||||
|
Hello, this is the Falco builder.
|
||||||
|
|
||||||
|
How to use.
|
||||||
|
* ...
|
||||||
|
* ...
|
||||||
|
|
||||||
|
Environment.
|
||||||
|
* ${gccversion}
|
||||||
|
* cplusplus ${cppversion}
|
||||||
|
* ${cmakeversion}
|
||||||
|
* ${dockerversion}
|
||||||
|
EOF
|
Loading…
Reference in New Issue
Block a user