Page MenuHomePhabricator

Optimized image builds for node applications
Closed, ResolvedPublic

Description

(Much of this work is already in review, but this is to track the final progress instead of merely being in @dduvall's head.)

  1. Blubber configuration for node application should be general but sufficiently simple.
  2. Dockerfiles should be generate such that they result in sufficiently small images, 'sufficient' meaning not having extraneous intermediate layers, only the size of base + dependencies + application files
  3. Resulting image layers should be sufficiently cacheable. We want builds in CI to be as efficient as possibly except for cases where we'd like explicit invalidation. Only, if we're to integrate Blubber into developer tooling, cache efficiency there is maybe even more important.