openfaas / of-watchdog

Reverse proxy for STDIO and HTTP microservices
MIT License
259 stars 115 forks source link

Publish Docker multi-arch images #59

Closed alexellis closed 5 years ago

alexellis commented 5 years ago

Expected Behaviour

We should publish a Docker image for each binary we produce and then create a multi-arch manifest to collect them all together.

This gives a speed boost, but also makes the Dockerfiles easier to manage and update.

Current Behaviour

Download via curl in each Dockerfile

Possible Solution

See how this was done in the openfaas/faas project by myself and @rgee0 and how it was subsequently applied to the templates in openfaas/templates.

Update CI:

Update of-watchdog tempaltes

alexellis commented 5 years ago

https://github.com/openfaas/faas/blob/master/.travis.yml

https://github.com/openfaas/faas/blob/master/watchdog/make_manifest.sh

https://github.com/openfaas/templates/blob/master/template/go/Dockerfile#L9