<commit_before>SHELL := /bin/bash

TAG=${whoami}-openvas

all:
	echo >&2 "Must specify target."

whoami    := $(shell whoami)

test:
	true

docker_build:
	docker build -t $(TAG) .

docker_run:
	docker run -it --rm -h docker-$(TAG) -p 80 --entrypoint /bin/bash --name $(TAG) $(TAG)

docker_exec:
	docker exec -it $(TAG) /bin/bash

docker_stop:
	docker stop $(TAG) && docker rm -f $(TAG)

.PHONY: all test docker_build docker_run docker_exec docker_stop<commit_msg>Make the container name have the real person's name, not root, if run with sudo<commit_after>SHELL := /bin/bash

TAG=${whoami}-openvas

all:
	echo >&2 "Must specify target."

whoami    := $(shell who | awk '{print $$1}')

test:
	true

docker_build:
	docker build -t $(TAG) .

docker_run:
	docker run -it --rm -h docker-$(TAG) -p 80 --entrypoint /bin/bash --name $(TAG) $(TAG)

docker_exec:
	docker exec -it $(TAG) /bin/bash

docker_stop:
	docker stop $(TAG) && docker rm -f $(TAG)

.PHONY: all test docker_build docker_run docker_exec docker_stop
{'fraction_non_alphanumeric': 0.1506442021803766, 'fraction_numerical': 0.006937561942517344, 'mean_word_length': 3.697674418604651, 'pattern_counts': {'":': 0, '<': 3, '<?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': '4677367', 'n_tokens_mistral': 412, 'n_tokens_neox': 371, 'n_words': 124}