new: default (usage) command for falco builder image

Signed-off-by: Leonardo Di Donato <leodidonato@gmail.com>
This commit is contained in:
Leonardo Di Donato 2019-07-15 20:54:41 +02:00 committed by Leo Di Donato
parent 7efec602e8
commit 2cda10caeb

View 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