Mark Dockerfile as requiring BuildKit (#12541)

Co-authored-by: David Robertson <davidr@element.io>
This commit is contained in:
Jason Robinson 2022-04-26 17:31:52 +03:00 committed by GitHub
parent 99ab45423a
commit 706456de1f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

1
changelog.d/12541.docker Normal file
View File

@ -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.

View File

@ -1,3 +1,4 @@
# syntax=docker/dockerfile:1
# Dockerfile to build the matrixdotorg/synapse docker images. # Dockerfile to build the matrixdotorg/synapse docker images.
# #
# Note that it uses features which are only available in BuildKit - see # Note that it uses features which are only available in BuildKit - see