wazuh-docker/wazuh/Makefile
Alexey Pronin 27dc788514
Add o365 script (#2)
* Add o365 script
* Add Jenkinsfile
2020-11-18 15:50:17 +03:00

34 lines
741 B
Makefile

SUBMODULES = build_utils
SUBTARGETS = $(patsubst %,%/.git,$(SUBMODULES))
UTILS_PATH := ../build_utils
TEMPLATES_PATH := .
# Name of the service
SERVICE_NAME := wazuh
# Service image default tag
SERVICE_IMAGE_TAG ?= $(shell git rev-parse HEAD)
# The tag for service image to be pushed with
SERVICE_IMAGE_PUSH_TAG ?= $(SERVICE_IMAGE_TAG)
# Base image for the service
BASE_IMAGE_NAME := empty
BASE_IMAGE_TAG := empty
BUILD_IMAGE_TAG := empty
CALL_ANYWHERE := all
CALL_W_CONTAINER := $(CALL_ANYWHERE)
-include $(UTILS_PATH)/make_lib/utils_container.mk
-include $(UTILS_PATH)/make_lib/utils_image.mk
.PHONY: $(CALL_W_CONTAINER)
# CALL_ANYWHERE
$(SUBTARGETS): %/.git: %
git submodule update --init $<
touch $@
submodules: $(SUBTARGETS)