Containers : build from source using the SCM.
This commit is contained in:
parent
c05b52d1cf
commit
74d5330a88
|
@ -23,7 +23,7 @@ build_base() {
|
||||||
}
|
}
|
||||||
|
|
||||||
mkdir ${buildfolder} &&
|
mkdir ${buildfolder} &&
|
||||||
if curl -sSfL -- "https://github.com/jitsi/docker-jitsi-meet/archive/refs/tags/${version}.tar.gz" | tar xz --strip-components 1 -C ${buildfolder}/ ; then
|
if git clone -b ${version} --depth=1 https://github.com/jitsi/docker-jitsi-meet/ ${buildfolder} ; then
|
||||||
if ! podman image exists git.garbaye.fr/garbaye/jitsi-jvb:${version}; then
|
if ! podman image exists git.garbaye.fr/garbaye/jitsi-jvb:${version}; then
|
||||||
build_base
|
build_base
|
||||||
TMPDIR=${HOME} podman image build -t git.garbaye.fr/garbaye/jitsi-jvb:${version} ${buildfolder}/jvb/ || exit 255
|
TMPDIR=${HOME} podman image build -t git.garbaye.fr/garbaye/jitsi-jvb:${version} ${buildfolder}/jvb/ || exit 255
|
||||||
|
|
|
@ -11,7 +11,7 @@ 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} &&
|
||||||
if curl -sSfL -- "https://github.com/element-hq/synapse/archive/refs/tags/${synapse_version}.tar.gz" | \tar xz --strip-components 1 -C ${buildfolder}/ ; then
|
if git clone -b ${synapse_version} --depth=1 https://github.com/element-hq/synapse/ ${buildfolder} ; then
|
||||||
rm -rf "${HOME}/buildah-cache-${UID}"
|
rm -rf "${HOME}/buildah-cache-${UID}"
|
||||||
TMPDIR=${HOME} podman image build \
|
TMPDIR=${HOME} podman image build \
|
||||||
-t ${synapse_image}:${synapse_version} \
|
-t ${synapse_image}:${synapse_version} \
|
||||||
|
|
|
@ -11,7 +11,7 @@ buildfolder=/tmp/peerjs-server-$$
|
||||||
|
|
||||||
if ! podman image exists ${upstream_images}:${version}; then
|
if ! podman image exists ${upstream_images}:${version}; then
|
||||||
mkdir ${buildfolder} &&
|
mkdir ${buildfolder} &&
|
||||||
curl -sSfL -- "https://github.com/peers/peerjs-server/archive/refs/tags/v${version}.tar.gz" | \tar xz --strip-components 1 -C ${buildfolder}/ &&
|
git clone -b v${version} --depth=1 https://github.com/peers/peerjs-server/ ${buildfolder} &&
|
||||||
TMPDIR=${HOME} podman image build \
|
TMPDIR=${HOME} podman image build \
|
||||||
--label org.opencontainers.image.description='PeerServer helps establishing connections between PeerJS clients. Data is not proxied through the server.' \
|
--label org.opencontainers.image.description='PeerServer helps establishing connections between PeerJS clients. Data is not proxied through the server.' \
|
||||||
--label org.opencontainers.image.source='https://github.com/peers/peerjs-server' \
|
--label org.opencontainers.image.source='https://github.com/peers/peerjs-server' \
|
||||||
|
|
Loading…
Reference in a new issue