<commit_before>DOCKER_USER?=kagome
DOCKER_BUILD=sudo -u "$(DOCKER_USER)" docker build
DOCKER_IMAGES=sudo -u "$(DOCKER_USER)" docker images
DOCKER_PULL=sudo -u "$(DOCKER_USER)" docker pull
DOCKER_RMI=sudo -u "$(DOCKER_USER)" docker rmi
SUBDIRS=base gui-base cli-base cli gui gui-nonfree
.PHONY: $(SUBDIRS)

default:
	@echo "Run \`make all' to build all images."

all: update-base clean build-all

update-base:
	$(DOCKER_PULL) ubuntu:latest

clean:
	-$(DOCKER_IMAGES) | awk '/<none>/{print $$3}' | xargs $(DOCKER_RMI)

build-all: $(SUBDIRS)

$(SUBDIRS):
	cd "$@" && $(DOCKER_BUILD) --no-cache --force-rm -t "$@" .<commit_msg>Fix clean target<commit_after>DOCKER_USER?=kagome
DOCKER_BUILD=sudo -u "$(DOCKER_USER)" docker build
DOCKER_IMAGES=sudo -u "$(DOCKER_USER)" docker images
DOCKER_PULL=sudo -u "$(DOCKER_USER)" docker pull
DOCKER_RMI=sudo -u "$(DOCKER_USER)" docker rmi
SUBDIRS=base gui-base cli-base cli gui gui-nonfree
.PHONY: $(SUBDIRS)

default:
	@echo "Run \`make all' to build all images."

all: update-base clean build-all

update-base:
	$(DOCKER_PULL) ubuntu:latest

clean:
	-$(DOCKER_IMAGES) | awk '/<none>/{print $$3}' | xargs -r $(DOCKER_RMI)

build-all: $(SUBDIRS)

$(SUBDIRS):
	cd "$@" && $(DOCKER_BUILD) --no-cache --force-rm -t "$@" .
{'fraction_non_alphanumeric': 0.17492012779552715, 'fraction_numerical': 0.001597444089456869, 'mean_word_length': 5.11219512195122, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '1303326', 'n_tokens_mistral': 563, 'n_tokens_neox': 530, 'n_words': 123}