openaustralia / yinyo

A wonderfully simple API driven service to reliably execute many long running scrapers in a super scaleable way
https://yinyo.io
Apache License 2.0
6 stars 1 forks source link

Improve go compiler caching #6

Open mlandauer opened 5 years ago

mlandauer commented 5 years ago

Right now, we're using a pretty giant hack which is making a huge difference to the usability but isn't exactly elegant.

There looks to be an experimental Dockerfile feature which looks to solve our problem: https://github.com/moby/buildkit/blob/master/frontend/dockerfile/docs/experimental.md#example-cache-go-packages