diff options
author | Jason Robinson <jasonr@element.io> | 2022-04-26 17:31:52 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-26 15:31:52 +0100 |
commit | 706456de1f63a4b9796592fd452da7ce30735274 (patch) | |
tree | bc4d0ae18e95f5c0756945cc9e8b8f6d7e0c673c | |
parent | build debian package for jammy jellyfish (#12543) (diff) | |
download | synapse-706456de1f63a4b9796592fd452da7ce30735274.tar.xz |
Mark Dockerfile as requiring BuildKit (#12541)
Co-authored-by: David Robertson <davidr@element.io>
-rw-r--r-- | changelog.d/12541.docker | 1 | ||||
-rw-r--r-- | docker/Dockerfile | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/changelog.d/12541.docker b/changelog.d/12541.docker new file mode 100644 index 0000000000..c3b9c31657 --- /dev/null +++ b/changelog.d/12541.docker @@ -0,0 +1 @@ +Explicitly opt-in to using [BuildKit-specific features](https://github.com/moby/buildkit/blob/master/frontend/dockerfile/docs/syntax.md) in the Dockerfile. This fixes issues with building images in some GitLab CI environments. diff --git a/docker/Dockerfile b/docker/Dockerfile index 4523c60645..ccc6a9f778 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -1,3 +1,4 @@ +# syntax=docker/dockerfile:1 # Dockerfile to build the matrixdotorg/synapse docker images. # # Note that it uses features which are only available in BuildKit - see |