From c19cd057abeb925592b824a286c5b68c9c2c40f6 Mon Sep 17 00:00:00 2001 From: Felix Bartels Date: Tue, 6 Nov 2018 12:59:26 +0100 Subject: [PATCH] ci: committing changes for webapp --- webapp/Dockerfile | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/webapp/Dockerfile b/webapp/Dockerfile index c327340..dc53cf7 100644 --- a/webapp/Dockerfile +++ b/webapp/Dockerfile @@ -5,6 +5,7 @@ ARG DOWNLOAD_COMMUNITY_PACKAGES=1 ARG KOPANO_CORE_REPOSITORY_URL="file:/kopano/repo/core" ARG KOPANO_REPOSITORY_FLAGS="trusted=yes" ARG KOPANO_WEBAPP_REPOSITORY_URL="file:/kopano/repo/webapp" +ARG KOPANO_CORE_VERSION=newest ARG KOPANO_WEBAPP_VERSION=newest ARG RELEASE_KEY_DOWNLOAD=0 @@ -18,11 +19,9 @@ RUN \ fi; \ 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 [ ! -f /kopano/buildversion ]; then \ - echo "core-${KOPANO_CORE_VERSION}" > /kopano/buildversion; \ - echo "webapp-${KOPANO_WEBAPP_VERSION}" >> /kopano/buildversion; \ - fi; \ + # save kopano version + echo "core-${KOPANO_CORE_VERSION}" > /kopano/buildversion; \ + echo "webapp-${KOPANO_WEBAPP_VERSION}" >> /kopano/buildversion; \ # install apt keys if supported kopano if [ ${RELEASE_KEY_DOWNLOAD} -eq 1 ]; then \ curl -s -S -o - "${KOPANO_CORE_REPOSITORY_URL}/Release.key" | apt-key add -; \