<commit_before>#!/bin/sh

set -e
cd /opt/gopath/src/github.com/redsift/go-render
glide install
go install -ldflags "-X version.Tag `date -u '+%Y-%m-%d_%I:%M:%S%p'` -X version.Commit GITHASH" github.com/redsift/go-render/render
go test github.com/redsift/go-render

cp /opt/gopath/bin/render /usr/local/bin/render

mkdir -p build

dockerize -n -o ./build -e /usr/local/bin/render-xvfb --filetools \
                /usr/local/bin/render \
                /usr/bin/execlineb \
                /bin/background \
                /bin/foreground \
                /bin/kill \
                /bin/importas \
                /bin/exit \
                /usr/bin/Xvfb \
                /usr/bin/ldd \
                /bin/bash \
                /usr/local/bin/render-xvfb

echo "ENV LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu/mesa/" >> ./build/Dockerfile<commit_msg>More env vars<commit_after>#!/bin/sh

set -e
cd /opt/gopath/src/github.com/redsift/go-render
glide install
go install -ldflags "-X version.Tag `date -u '+%Y-%m-%d_%I:%M:%S%p'` -X version.Commit GITHASH" github.com/redsift/go-render/render
go test github.com/redsift/go-render

cp /opt/gopath/bin/render /usr/local/bin/render

mkdir -p build

dockerize -n -o ./build -e /usr/local/bin/render-xvfb --filetools \
                /usr/local/bin/render \
                /usr/bin/execlineb \
                /bin/background \
                /bin/foreground \
                /bin/kill \
                /bin/importas \
                /bin/exit \
                /usr/bin/Xvfb \
                /usr/bin/ldd \
                /bin/bash \
                /usr/local/bin/render-xvfb

echo "ENV LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu/mesa/:/usr/lib/x86_64-linux-gnu/mesa-egl/ DISPLAY=:1 LIBGL_ALWAYS_INDIRECT=1" >> ./build/Dockerfile
{'fraction_non_alphanumeric': 0.14773363178511473, 'fraction_numerical': 0.00783435926133184, 'mean_word_length': 1.5652797704447632, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '6367595', 'n_tokens_mistral': 697, 'n_tokens_neox': 645, 'n_words': 103}