Closed alexellis closed 5 years ago
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.
Download via curl in each Dockerfile
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
curl
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
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
curl
to from the new base Docker image.