mirror of
https://github.com/zokradonh/kopano-docker
synced 2025-06-07 16:06:14 +00:00
fix supported build
This commit is contained in:
parent
b95814444d
commit
7a73d9087c
3
build.sh
3
build.sh
@ -93,8 +93,7 @@ then
|
||||
echo "Start building supported kopano $component image version ($currentVersion)..."
|
||||
set -x
|
||||
# build it
|
||||
if docker build \
|
||||
--pull \
|
||||
if docker build --pull \
|
||||
--build-arg "KOPANO_${component^^}_REPOSITORY_URL=https://serial:$serial@download.kopano.io/supported/$component:/$branch/Debian_9.0" \
|
||||
--build-arg RELEASE_KEY_DOWNLOAD=1 \
|
||||
--build-arg "DOWNLOAD_COMMUNITY_PACKAGES=0" \
|
||||
|
@ -50,7 +50,7 @@ RUN \
|
||||
fi; \
|
||||
echo "deb [${KOPANO_REPOSITORY_FLAGS}] ${KOPANO_CORE_REPOSITORY_URL} ./" > /etc/apt/sources.list.d/kopano.list; \
|
||||
# save kopano version if supported kopano
|
||||
if [ -z /kopano/buildversion ]; then \
|
||||
if [ ! -f /kopano/buildversion ]; then \
|
||||
echo "core-${KOPANO_CORE_VERSION}" > /kopano/buildversion; \
|
||||
fi; \
|
||||
# install apt key if supported kopano
|
||||
|
@ -51,7 +51,7 @@ RUN \
|
||||
echo "deb [${KOPANO_REPOSITORY_FLAGS}] ${KOPANO_CORE_REPOSITORY_URL} ./" > /etc/apt/sources.list.d/kopano.list; \
|
||||
echo "deb [${KOPANO_REPOSITORY_FLAGS}] ${KOPANO_WEBAPP_REPOSITORY_URL} ./" >> /etc/apt/sources.list.d/kopano.list; \
|
||||
# save kopano version if supported kopano
|
||||
if [ -z /kopano/buildversion ]; then \
|
||||
if [ ! -f /kopano/buildversion ]; then \
|
||||
echo "core-${KOPANO_CORE_VERSION}" > /kopano/buildversion; \
|
||||
echo "webapp-${KOPANO_WEBAPP_VERSION}" >> /kopano/buildversion; \
|
||||
fi; \
|
||||
|
Loading…
x
Reference in New Issue
Block a user