**What**
- Initialize the go.mod from the existing Gopkg.lock
- Update to a more go module friendly version of docker/docker
Signed-off-by: Lucas Roesler <roesler.lucas@gmail.com>
Adds a new target stage for faas-cli's Docker image having a root user that can be used with
CI/CD environments like Google Cloud Build.
Also add a [Breaking Change] that switches from using `CMD` in the Dockerfile to `ENTRYPOINT`
which allows overriding commands in CI/CD environments.
Signed-off-by: Utsav Anand <utsavanand2@gmail.com>
**What**
- Simplify local build and testing by using the local go toolchain to
install. This will include the current git-sha and the dirty state in
the version info
Signed-off-by: Lucas Roesler <roesler.lucas@gmail.com>
This change intends to prevent regression in the new CLI releases.
It makes a build using the CLI and tests how running container
from the function image behaves
Signed-off-by: Ivana Yovcheva (VMware) <iyovcheva@vmware.com>
Refactors calling the DeployFunction using a struct to collect the
required attributes instead of individual parameters. This should make
it easier to maintain in the future
Resolves: #475
Signed-off-by: Edward Wilde <ewilde@gmail.com>