From 5a593f755c3f08b0a451a3f8b2dcabbf67cc871b Mon Sep 17 00:00:00 2001 From: Gitouche <26656-gitouche@users.noreply.framagit.org> Date: Fri, 12 Aug 2022 20:43:45 +0200 Subject: [PATCH] Synapse : image to gitea? 2 --- podman-matrix/ci_build-images.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/podman-matrix/ci_build-images.sh b/podman-matrix/ci_build-images.sh index 735767b..be6fced 100755 --- a/podman-matrix/ci_build-images.sh +++ b/podman-matrix/ci_build-images.sh @@ -12,7 +12,8 @@ buildfolder=/tmp/synapse-$$ if ! podman image exists ${synapse_image}:${synapse_version}; then mkdir ${buildfolder} && curl -sSfL -- "https://github.com/matrix-org/synapse/archive/refs/tags/${synapse_version}.tar.gz" | \tar xz --strip-components 1 -C ${buildfolder}/ && { - podman run -d --name buildkitd --privileged docker.io/moby/buildkit:latest && + podman pull docker.io/moby/buildkit:latest + podman run -d --name buildkitd --privileged docker.io/moby/buildkit:latest && my_buildctl --addr=podman-container://buildkitd build \ --frontend dockerfile.v0 \ --local context=${buildfolder}/ \