<commit_before>IMAGE:=/tmp/weavedns.tar
MAIN:=../

.DEFAULT: docker-image

all: docker-image

weavedns: ../server/*.go ../main.go
	go get -tags netgo $(MAIN) && GOARCH=amd64 GOOS=linux go build -tags netgo -ldflags '-linkmode external -extldflags "-static"' -o $@ -v $(MAIN)

.PHONY: docker-image

docker-image: $(IMAGE)

$(IMAGE): Dockerfile weavedns
	sudo -E docker build -t zettio/weavedns .
	sudo -E docker save zettio/weavedns > $(IMAGE)

clean:
	-sudo docker rmi zettio/weavedns
	rm -f weavedns $(IMAGE)<commit_msg>Removed cross-compilation bobbins<commit_after>IMAGE:=/tmp/weavedns.tar
MAIN:=../

.DEFAULT: docker-image

all: docker-image

weavedns: ../server/*.go ../main.go
	go get -tags netgo $(MAIN) && go build -tags netgo -ldflags '-linkmode external -extldflags "-static"' -o $@ -v $(MAIN)

.PHONY: docker-image

docker-image: $(IMAGE)

$(IMAGE): Dockerfile weavedns
	sudo -E docker build -t zettio/weavedns .
	sudo -E docker save zettio/weavedns > $(IMAGE)

clean:
	-sudo docker rmi zettio/weavedns
	rm -f weavedns $(IMAGE)
{'fraction_non_alphanumeric': 0.15703275529865124, 'fraction_numerical': 0.0019267822736030828, 'mean_word_length': 3.7227272727272727, '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': '3462180', 'n_tokens_mistral': 423, 'n_tokens_neox': 386, 'n_words': 111}