Synapse : image to gitea? 2
This commit is contained in:
parent
b0cde5ca68
commit
5a593f755c
|
@ -12,7 +12,8 @@ buildfolder=/tmp/synapse-$$
|
||||||
if ! podman image exists ${synapse_image}:${synapse_version}; then
|
if ! podman image exists ${synapse_image}:${synapse_version}; then
|
||||||
mkdir ${buildfolder} &&
|
mkdir ${buildfolder} &&
|
||||||
curl -sSfL -- "https://github.com/matrix-org/synapse/archive/refs/tags/${synapse_version}.tar.gz" | \tar xz --strip-components 1 -C ${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 \
|
my_buildctl --addr=podman-container://buildkitd build \
|
||||||
--frontend dockerfile.v0 \
|
--frontend dockerfile.v0 \
|
||||||
--local context=${buildfolder}/ \
|
--local context=${buildfolder}/ \
|
||||||
|
|
Loading…
Reference in a new issue