Alex Ellis (VMware) 6ee07a7ba9 Update gateway URL to default for helloc example
- this caused confusion for a user who had logged in for
"127.0.0.1", but not for "localhost" then saw an error when
deploying and trying to access "localhost" for which there
was no credential available.

Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2019-01-27 21:29:03 +00:00
..
2017-09-06 15:23:15 +01:00
2017-09-06 15:23:15 +01:00

Hello World in C

This is hello world in C using GCC and Alpine Linux.

It also makes use of a multi-stage build and a scratch container for the runtime.

$ faas-cli build -f ./stack.yml

If pushing to a remote registry change the name from alexellis to your own Hub account.

$ faas-cli push -f ./stack.yml
$ faas-cli deploy -f ./stack.yml

Then invoke via curl, faas-cli or the UI.