<commit_before>USER = sagebind
IMAGES = base nginx php php-nginx piwik reverse-proxy
BUILD = docker build -t $(USER)/$(1) $(1)


build: $(patsubst %,%.build,$(IMAGES))

push: $(patsubst %,%.push,$(IMAGES))

base.build:
	$(call BUILD,base)

base.push:

nginx.build: base.build
	$(call BUILD,nginx)

nginx.push:

php.build: base.build
	$(call BUILD,php)

php.push:

php-nginx.build: nginx.build
	$(call BUILD,php-nginx)

php-nginx.push:

piwik.build: php-nginx.build
	$(call BUILD,piwik)

piwik.push:<commit_msg>Piwik deploy<commit_after>USER = sagebind
IMAGES = base nginx php php-nginx piwik reverse-proxy
BUILD = docker build -t $(USER)/$(1) $(1)


build: $(patsubst %,%.build,$(IMAGES))

push: $(patsubst %,%.push,$(IMAGES))

base.build:
	$(call BUILD,base)

base.push:

nginx.build: base.build
	$(call BUILD,nginx)

nginx.push:

php.build: base.build
	$(call BUILD,php)

php.push:

php-nginx.build: nginx.build
	$(call BUILD,php-nginx)

php-nginx.push:

piwik.build: php-nginx.build
	$(call BUILD,piwik)

piwik.push:
	docker push $(USER)/piwik
{'fraction_non_alphanumeric': 0.17782026768642448, 'fraction_numerical': 0.0038240917782026767, 'mean_word_length': 4.65945945945946, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5114008', 'n_tokens_mistral': 458, 'n_tokens_neox': 445, 'n_words': 93}