summary refs log tree commit diff
diff options
context:
space:
mode:
authorRichard van der Hoff <1389908+richvdh@users.noreply.github.com>2019-06-27 11:18:51 +0100
committerGitHub <noreply@github.com>2019-06-27 11:18:51 +0100
commitb2d2617c0de61db4cf81336d21e17bccc832eb70 (patch)
treec80399c4c1760d6e17f7b3684c4271ce2631b4d3
parentMerge pull request #5563 from matrix-org/rav/docker/data_dir (diff)
downloadsynapse-b2d2617c0de61db4cf81336d21e17bccc832eb70.tar.xz
Reduce the amount of stuff we send in the docker context (#5564)
this makes docker builds a bit faster.
-rw-r--r--.dockerignore22
-rw-r--r--changelog.d/5564.misc1
2 files changed, 14 insertions, 9 deletions
diff --git a/.dockerignore b/.dockerignore
index 3c3996eb4c..f6c638b0a2 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 0000000000..e209cdcc29
--- /dev/null
+++ b/changelog.d/5564.misc
@@ -0,0 +1 @@
+Reduce the amount of stuff we send in the docker context.