about summary refs log tree commit diff
path: root/app/views/admin
diff options
context:
space:
mode:
authorBen Lubar <ben.lubar+github@gmail.com>2019-03-08 09:12:48 -0600
committerEugen Rochko <eugen@zeonfederated.com>2019-03-08 16:12:48 +0100
commitd36fcb54c408536f15de1346f70b4a8c78e9cb34 (patch)
tree2c19aa069416d593e292c4f41a5e4edd657abdf4 /app/views/admin
parent42e733681aef45c9e6224aed288e4c845782c173 (diff)
Re-organize Dockerfile to improve incremental builds. (#10212)
- Always run apt update before any other apt command. (This fixes
  incremental builds failing if a remote package is updated.)
- Only copy dependency lists before installing dependencies. (This means
  editing code doesn't force all dependencies to be re-downloaded.)
- Delete cache in the same layer that it is created. (Otherwise,
  deleting cache *increases* the size of the image on non-squashed
  builds.)
- Move the installation of some static dependencies to *before* Mastodon
  code is imported to Docker.
Diffstat (limited to 'app/views/admin')
0 files changed, 0 insertions, 0 deletions