PLUS-POSTECH / soma

Cross-platform CTF problem container manager
Apache License 2.0
24 stars 3 forks source link

Use async streams instead of in-memory load when building image #86

Open KSAlpha opened 5 years ago

KSAlpha commented 5 years ago

85 introduced docker API based image build using in-memory load of build context. This is not a robust behavior as a big build context may consume a lot of memory which can result in OOM exception.

Followings seem to be a good alternatives:

Both requires 'non-current-thread` runtime (or thread pool) running, which is expected to be a big change from current implementations.