瀏覽代碼

Call out buildkit is required when building test docker images (#13338)

Co-authored-by: David Robertson <davidr@element.io>
tags/v1.64.0rc1
Brendan Abolivier 1 年之前
committed by GitHub
父節點
當前提交
10e4093839
沒有發現已知的金鑰在資料庫的簽署中 GPG 金鑰 ID: 4AEE18F83AFDEB23
共有 4 個檔案被更改,包括 7 行新增0 行删除
  1. +1
    -0
      changelog.d/13338.doc
  2. +1
    -0
      docker/Dockerfile-workers
  3. +4
    -0
      docker/README-testing.md
  4. +1
    -0
      docker/complement/Dockerfile

+ 1
- 0
changelog.d/13338.doc 查看文件

@@ -0,0 +1 @@
Mention that BuildKit is needed when building Docker images for tests.

+ 1
- 0
docker/Dockerfile-workers 查看文件

@@ -1,3 +1,4 @@
# syntax=docker/dockerfile:1
# Inherit from the official Synapse docker image
ARG SYNAPSE_VERSION=latest
FROM matrixdotorg/synapse:$SYNAPSE_VERSION


+ 4
- 0
docker/README-testing.md 查看文件

@@ -22,6 +22,10 @@ Consult the [contributing guide][guideComplementSh] for instructions on how to u
Under some circumstances, you may wish to build the images manually.
The instructions below will lead you to doing that.

Note that these images can only be built using [BuildKit](https://docs.docker.com/develop/develop-images/build_enhancements/),
therefore BuildKit needs to be enabled when calling `docker build`. This can be done by
setting `DOCKER_BUILDKIT=1` in your environment.

Start by building the base Synapse docker image. If you wish to run tests with the latest
release of Synapse, instead of your current checkout, you can skip this step. From the
root of the repository:


+ 1
- 0
docker/complement/Dockerfile 查看文件

@@ -1,3 +1,4 @@
# syntax=docker/dockerfile:1
# This dockerfile builds on top of 'docker/Dockerfile-workers' in matrix-org/synapse
# by including a built-in postgres instance, as well as setting up the homeserver so
# that it is ready for testing via Complement.


Loading…
取消
儲存