Ivana Yovcheva (VMware) 7f6295c9cf Update alpine version to 3.7
This updates alpine version to 3.7 in sample-functions, gateway
and some markdown docas.

Signed-off-by: Ivana Yovcheva (VMware) <iyovcheva@vmware.com>
2018-05-11 14:14:59 +01:00
..
2018-05-11 14:14:59 +01:00
2017-09-06 17:58:24 +01:00
2017-09-25 11:22:59 +01:00

gif-maker

Converts a .mov QuickTime video to a .gif

Testing:

$ docker build -t alexellis/gif-maker .
$ faas-cli deploy --fprocess="./entry.sh" \
  --env read_timeout=60 --env write_timeout=60 \
  --image alexellis/gif-maker --name gif-maker

# wait a little

$ curl http://localhost:8080/function/gif-maker --data-binary @$HOME/Desktop/screen1.mov > screen1.gif

Try to use a small cropped video around 5MB. Timeouts may need to be extended for larger videos