1
0
mirror of https://github.com/zokradonh/kopano-docker.git synced 2026-08-20 04:43:06 +00:00

Smaller optimisations (#137)

* add docker pull to warm up build cache on travis
* explicitly build multi stage build stages
* make create repo script dynamic in the choice of the distribution
This commit is contained in:
Felix Bartels
2019-04-05 08:48:32 -05:00
committed by GitHub
parent de704dd8ec
commit b75403f69a
4 changed files with 58 additions and 7 deletions
+2 -1
View File
@@ -7,6 +7,7 @@ fi
source base/create-kopano-repo.sh
component=${1:-core}
distribution=${2:-Debian_9.0}
if [ -e ./.env ]; then
# this is a kind of ugly hack to be able to source the env file
@@ -51,7 +52,7 @@ kdav)
esac
# query community server by h5ai API
filename=$(h5ai_query "$component")
filename=$(h5ai_query "$component" "$distribution")
currentVersion=$(version_from_filename "$filename")