Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F117887452
build.sh
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
3 KB
Referenced Files
None
Subscribers
None
build.sh
View Options
#!/bin/bash
set
-e
if
[[
$1
==
"--podman"
]]
;
then
echo
"Building with podman"
shift
podman build docker/swoole/ -t apheleia/swoole
# podman build docker/base/ -f almalinux8 -t apheleia/almalinux8
podman build docker/base/ -f almalinux9 -t apheleia/almalinux9
podman build --ulimit
nofile
=
65535
:65535 docker/webapp -t kolab-webapp
\
${
KOLAB_GIT_REMOTE
:+
"--build-arg=GIT_REMOTE=
$KOLAB_GIT_REMOTE
"
}
\
${
KOLAB_GIT_REF
:+
"--build-arg=GIT_REF=
$KOLAB_GIT_REF
"
}
podman build --ulimit
nofile
=
65535
:65535 docker/meet -t kolab-meet
\
${
KOLAB_GIT_REMOTE
:+
"--build-arg=GIT_REMOTE=
$KOLAB_GIT_REMOTE
"
}
\
${
KOLAB_GIT_REF
:+
"--build-arg=GIT_REF=
$KOLAB_GIT_REF
"
}
podman build docker/postfix -t kolab-postfix
podman build docker/imap -t kolab-imap
podman build docker/amavis -t kolab-amavis
podman build docker/collabora -t kolab-collabora --build-arg
=
REPOSITORY
=
"https://www.collaboraoffice.com/repos/CollaboraOnline/23.05-CODE/CODE-rpm/"
podman build docker/mariadb -t mariadb
podman build docker/redis -t redis
podman build docker/proxy -t kolab-proxy
podman build docker/coturn -t kolab-coturn
podman build docker/utils -t kolab-utils
podman build docker/fluentbit -t fluentbit
podman build --ulimit
nofile
=
65535
:65535 docker/roundcube -t roundcube
\
${
GIT_REMOTE_ROUNDCUBEMAIL
:+
"--build-arg=GIT_REMOTE_ROUNDCUBEMAIL=
$GIT_REMOTE_ROUNDCUBEMAIL
"
}
\
${
GIT_REF_ROUNDCUBEMAIL
:+
"--build-arg=GIT_REF_ROUNDCUBEMAIL=
$GIT_REF_ROUNDCUBEMAIL
"
}
\
${
GIT_REMOTE_ROUNDCUBEMAIL_PLUGINS
:+
"--build-arg=GIT_REMOTE_ROUNDCUBEMAIL_PLUGINS=
$GIT_REMOTE_ROUNDCUBEMAIL_PLUGINS
"
}
\
${
GIT_REF_ROUNDCUBEMAIL_PLUGINS
:+
"--build-arg=GIT_REF_ROUNDCUBEMAIL_PLUGINS=
$GIT_REF_ROUNDCUBEMAIL_PLUGINS
"
}
\
${
GIT_REMOTE_CHWALA
:+
"--build-arg=GIT_REMOTE_CHWALA=
$GIT_REMOTE_CHWALA
"
}
\
${
GIT_REF_CHWALA
:+
"--build-arg=GIT_REF_CHWALA=
$GIT_REF_CHWALA
"
}
\
${
GIT_REMOTE_SYNCROTON
:+
"--build-arg=GIT_REMOTE_SYNCROTON=
$GIT_REMOTE_SYNCROTON
"
}
\
${
GIT_REF_SYNCROTON
:+
"--build-arg=GIT_REF_SYNCROTON=
$GIT_REF_SYNCROTON
"
}
\
${
GIT_REMOTE_AUTOCONF
:+
"--build-arg=GIT_REMOTE_AUTOCONF=
$GIT_REMOTE_AUTOCONF
"
}
\
${
GIT_REF_AUTOCONF
:+
"--build-arg=GIT_REF_AUTOCONF=
$GIT_REF_AUTOCONF
"
}
\
${
GIT_REMOTE_IRONY
:+
"--build-arg=GIT_REMOTE_IRONY=
$GIT_REMOTE_IRONY
"
}
\
${
GIT_REF_IRONY
:+
"--build-arg=GIT_REF_IRONY=
$GIT_REF_IRONY
"
}
\
${
GIT_REMOTE_FREEBUSY
:+
"--build-arg=GIT_REMOTE_FREEBUSY=
$GIT_REMOTE_FREEBUSY
"
}
\
${
GIT_REF_FREEBUSY
:+
"--build-arg=GIT_REF_FREEBUSY=
$GIT_REF_FREEBUSY
"
}
else
echo
"Building with docker compose"
# Workaround because docker-compose doesn't know build dependencies, so we build the dependencies first
# (It does respect depends_on, but we don't actually want the dependencies started, so....)
docker compose -f docker-compose.yml -f docker-compose.override.yml -f docker-compose.build.yml build
$@
swoole almalinux8 almalinux9
docker compose -f docker-compose.yml -f docker-compose.override.yml -f docker-compose.build.yml build
$@
webapp
docker compose -f docker-compose.yml -f docker-compose.override.yml -f docker-compose.build.yml build
$@
fi
File Metadata
Details
Attached
Mime Type
text/x-shellscript
Expires
Mon, Apr 6, 2:59 AM (2 w, 4 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
18832128
Default Alt Text
build.sh (3 KB)
Attached To
Mode
rK kolab
Attached
Detach File
Event Timeline