matrix/synapse : fix build - buildctl export oci
This commit is contained in:
parent
929a54f652
commit
d5f17205f4
|
@ -17,10 +17,8 @@ if ! podman image exists localhost/matrixdotorg/synapse:${synapse_version}; then
|
||||||
--frontend dockerfile.v0 \
|
--frontend dockerfile.v0 \
|
||||||
--local context=${buildfolder}/ \
|
--local context=${buildfolder}/ \
|
||||||
--local dockerfile=${buildfolder}/docker/ \
|
--local dockerfile=${buildfolder}/docker/ \
|
||||||
--output type=oci,name="fixme:synapse_${synapse_version}" | \
|
--output type=oci,name="${synapse_image}:${synapse_version}" | \
|
||||||
podman load &&
|
podman load &&
|
||||||
podman image tag localhost/synapse_${synapse_version}:latest ${synapse_image}:${synapse_version} &&
|
|
||||||
podman image rm localhost/synapse_${synapse_version}:latest &&
|
|
||||||
podman rm --force buildkitd &&
|
podman rm --force buildkitd &&
|
||||||
podman rmi docker.io/moby/buildkit:latest
|
podman rmi docker.io/moby/buildkit:latest
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue