1
0
mirror of https://github.com/zokradonh/kopano-docker synced 2025-07-23 01:45:37 +00:00

adapt makefile for utils image

Signed-off-by: Felix Bartels <felix@host-consultants.de>
This commit is contained in:
Felix Bartels 2018-12-19 08:53:08 +01:00
parent 531184a598
commit bdef62508e

View File

@ -5,6 +5,7 @@ docker_pwd := `cat ~/.docker-account-pwd`
base_version = $(shell docker run --rm $(docker_repo)/kopano_base cat /kopano/buildversion)
base_download_version := $(shell ./version.sh core)
core_version = $(shell docker run --rm $(docker_repo)/kopano_core cat /kopano/buildversion | grep -o -P '(?<=-).*(?=\+)')
utils_version = $(shell docker run --rm $(docker_repo)/kopano_core cat /kopano/buildversion | grep -o -P '(?<=-).*(?=\+)')
core_download_version := $(shell ./version.sh core)
webapp_version = $(shell docker run --rm $(docker_repo)/kopano_webapp cat /kopano/buildversion | tail -n 1 | grep -o -P '(?<=-).*(?=\+)')
webapp_download_version := $(shell ./version.sh webapp)
@ -79,6 +80,9 @@ tag-base:
tag-core:
component=core make tag
tag-utils:
component=utils make tag
tag-webapp:
component=webapp make tag
@ -105,6 +109,9 @@ publish-base: build-base tag-base
publish-core: build-core tag-core
component=core make publish-container
publish-utils: build-core build-utils tag-utils
component=utils make publish-container
publish-webapp: build-webapp tag-webapp
component=webapp make publish-container