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)..."
|
echo "Start building supported kopano $component image version ($currentVersion)..."
|
||||||
set -x
|
set -x
|
||||||
# build it
|
# build it
|
||||||
if docker build \
|
if docker build --pull \
|
||||||
--pull \
|
|
||||||
--build-arg "KOPANO_${component^^}_REPOSITORY_URL=https://serial:$serial@download.kopano.io/supported/$component:/$branch/Debian_9.0" \
|
--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 RELEASE_KEY_DOWNLOAD=1 \
|
||||||
--build-arg "DOWNLOAD_COMMUNITY_PACKAGES=0" \
|
--build-arg "DOWNLOAD_COMMUNITY_PACKAGES=0" \
|
||||||
|
@ -50,7 +50,7 @@ RUN \
|
|||||||
fi; \
|
fi; \
|
||||||
echo "deb [${KOPANO_REPOSITORY_FLAGS}] ${KOPANO_CORE_REPOSITORY_URL} ./" > /etc/apt/sources.list.d/kopano.list; \
|
echo "deb [${KOPANO_REPOSITORY_FLAGS}] ${KOPANO_CORE_REPOSITORY_URL} ./" > /etc/apt/sources.list.d/kopano.list; \
|
||||||
# save kopano version if supported kopano
|
# save kopano version if supported kopano
|
||||||
if [ -z /kopano/buildversion ]; then \
|
if [ ! -f /kopano/buildversion ]; then \
|
||||||
echo "core-${KOPANO_CORE_VERSION}" > /kopano/buildversion; \
|
echo "core-${KOPANO_CORE_VERSION}" > /kopano/buildversion; \
|
||||||
fi; \
|
fi; \
|
||||||
# install apt key if supported kopano
|
# 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_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; \
|
echo "deb [${KOPANO_REPOSITORY_FLAGS}] ${KOPANO_WEBAPP_REPOSITORY_URL} ./" >> /etc/apt/sources.list.d/kopano.list; \
|
||||||
# save kopano version if supported kopano
|
# save kopano version if supported kopano
|
||||||
if [ -z /kopano/buildversion ]; then \
|
if [ ! -f /kopano/buildversion ]; then \
|
||||||
echo "core-${KOPANO_CORE_VERSION}" > /kopano/buildversion; \
|
echo "core-${KOPANO_CORE_VERSION}" > /kopano/buildversion; \
|
||||||
echo "webapp-${KOPANO_WEBAPP_VERSION}" >> /kopano/buildversion; \
|
echo "webapp-${KOPANO_WEBAPP_VERSION}" >> /kopano/buildversion; \
|
||||||
fi; \
|
fi; \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user