Commit 161055d4 authored by Tit Petric's avatar Tit Petric

add makefile to build docker hub image

parent b4518162
NAME := crusttech/daasi-mongodb
TAG := $$(git describe --tags)
IMG := ${NAME}:${TAG}
include ../.env
all:
@echo "# building ${IMG}"
@docker build -t ${IMG} --no-cache=true --rm=true \
--build-arg FRONTEND_FILES_VERSION=$(FRONTEND_FILES_VERSION) \
--build-arg CORE_FILES_VERSION=$(CORE_FILES_VERSION) \
--build-arg CUSTOMER_FILES_VERSION=$(CUSTOMER_FILES_VERSION) \
--build-arg SATOSA_FILES_VERSION=$(SATOSA_FILES_VERSION) \
--build-arg CORE_REPO=$(CORE_FILES) \
--build-arg CUSTOMER_REPO=$(CUSTOMER_FILES) \
--build-arg FRONTEND_REPO=$(FRONTEND_FILES) \
--build-arg SATOSA_REPO=$(SATOSA_FILES) \
--build-arg GIT_SSL_VERIFY=$(GIT_SSL_VERIFY) .
push:
@docker push ${IMG}
.PHONY: all
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment