From 7c02e69e6ae815ecfc896a12b2838a766fc32716 Mon Sep 17 00:00:00 2001 From: Richard van der Hoff Date: Wed, 26 Jun 2019 13:50:21 +0100 Subject: [PATCH] Reduce the amount of stuff we send in the docker context this makes docker builds a bit faster. --- .dockerignore | 22 +++++++++++++--------- changelog.d/5564.misc | 1 + 2 files changed, 14 insertions(+), 9 deletions(-) create mode 100644 changelog.d/5564.misc diff --git a/.dockerignore b/.dockerignore index 3c3996eb4c56..f6c638b0a221 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1,9 +1,13 @@ -Dockerfile -.travis.yml -.gitignore -demo/etc -tox.ini -.git/* -.tox/* -debian/matrix-synapse/ -debian/matrix-synapse-*/ +# ignore everything by default +* + +# things to include +!docker +!scripts +!synapse +!MANIFEST.in +!README.rst +!setup.py +!synctl + +**/__pycache__ diff --git a/changelog.d/5564.misc b/changelog.d/5564.misc new file mode 100644 index 000000000000..e209cdcc29b5 --- /dev/null +++ b/changelog.d/5564.misc @@ -0,0 +1 @@ +Reduce the amount of stuff we send in the docker context.