remind101/docker-build

Speed up build/push

Closed this issue · 0 comments

We can probably speed up build/push significantly by:

  1. Pulling the latest tag for the repo.
  2. Removing the --no-cache flag.

Ideally, this would make building new docker images significantly faster since it will be able to re-use cached layers from the pull and should make pushes a little faster since it won't have to push up data for layers that the registry already has.

There's probably some subtle bugs here that could cause some weirdness though...