Browse Source

Document that the `DOCKER_BUILDKIT=1` flag is needed to build the docker image. (#13515)

reivilibre 1 year ago
parent
commit
2c5e2ae898
2 changed files with 2 additions and 1 deletions
  1. 1 0
      changelog.d/13515.doc
  2. 1 1
      docker/README.md

+ 1 - 0
changelog.d/13515.doc

@@ -0,0 +1 @@
+Document that the `DOCKER_BUILDKIT=1` flag is needed to build the docker image.

+ 1 - 1
docker/README.md

@@ -191,7 +191,7 @@ If you need to build the image from a Synapse checkout, use the following `docke
  build` command from the repo's root:
 
 ```
-docker build -t matrixdotorg/synapse -f docker/Dockerfile .
+DOCKER_BUILDKIT=1 docker build -t matrixdotorg/synapse -f docker/Dockerfile .
 ```
 
 You can choose to build a different docker image by changing the value of the `-f` flag to