openfaas / certifier

OpenFaaS Compliance testing
MIT License
26 stars 14 forks source link

Publish binaries and multi-arch docker images #56

Closed LucasRoesler closed 3 years ago

LucasRoesler commented 4 years ago

What

Requires #58 Relates to #54 Relates to openfaas/faas#1585

Signed-off-by: Lucas Roesler roesler.lucas@gmail.com

LucasRoesler commented 4 years ago

@alexellis i don't think this is ready until we update the README with instructions on how to use the docker image, but i always get confused about the networking. Perhaps you have a suggestion on the right way to run it.

For example, with docker swarm on your local machine, you can do

docker run --network=func_functions openfaas/certifier:latest -gateway=http://func_gateway:8080

But this presents an issue when running with auth, because you can just mount the local faas-cli config into the container because the gateway host names will be different, specifically, this doesn't work

docker run -v $HOME/.openfaas:/home/default/.openfaas --network=func_functions openfaas/certifier:latest -gateway=http://func_gateway:8080
alexellis commented 4 years ago

I can see a binary distribution being useful, what are the pros of having a Docker image along with that?