<commit_before>#!/bin/bash

#https://blog.codeship.com/building-minimal-docker-containers-for-go-applications/

VERSION=9

CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o hookyd ../cmd/hookyd/main.go
CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o hooky ../cmd/hooky/main.go

docker build -t sebest/hooky:$VERSION .
docker push sebest/hooky:$VERSION<commit_msg>Update docker build script<commit_after>#!/bin/bash

#https://blog.codeship.com/building-minimal-docker-containers-for-go-applications/

VERSION=11

CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o hookyd ../cmd/hookyd/main.go
CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o hooky ../cmd/hooky/main.go

docker build -t sebest/hooky:$VERSION .
docker build -t sebest/hooky:latest .
docker push sebest/hooky:$VERSION
docker push sebest/hooky:latest
{'fraction_non_alphanumeric': 0.12941176470588237, 'fraction_numerical': 0.00823529411764706, 'mean_word_length': 4.455128205128205, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '6294065', 'n_tokens_mistral': 329, 'n_tokens_neox': 312, 'n_words': 69}