<commit_before>#!/bin/bash

REPO=tbeadle/gunicorn-nginx

for VER in 3.6 3.5 2.7; do
	docker build -t ${REPO}:${VER} -f Dockerfile.${VER} .
	docker build -t ${REPO}:${VER}-onbuild -f Dockerfile.${VER}-onbuild .
done<commit_msg>Allow the user to specify a version when running build_images.sh.<commit_after>#!/bin/bash

repo=tbeadle/gunicorn-nginx

versions=( "$@" )
if [ ${#versions[@]} -eq 0 ]; then
	versions=( 2.7 3.5 3.6 )
fi

for ver in "${versions[@]}"; do
	docker build -t ${repo}:${ver} -f Dockerfile.${ver} .
	docker build -t ${repo}:${ver}-onbuild -f Dockerfile.${ver}-onbuild .
done
{'fraction_non_alphanumeric': 0.20101351351351351, 'fraction_numerical': 0.02195945945945946, 'mean_word_length': 4.068376068376068, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '5346314', 'n_tokens_mistral': 252, 'n_tokens_neox': 229, 'n_words': 61}