<commit_before># this file describes how to build tsuru python3 image
# to run it:
# 1- install docker
# 2- run: $ docker build -t tsuru/python3 https://raw.github.com/tsuru/basebuilder/master/python3/Dockerfile

from ubuntu:14.04
run apt-get update
run apt-get install software-properties-common curl wget -y
run wget http://github.com/tsuru/basebuilder/tarball/master -O basebuilder.tar.gz --no-check-certificate
run mkdir /var/lib/tsuru
run tar -xvf basebuilder.tar.gz -C /var/lib/tsuru --strip 1
run cp /var/lib/tsuru/python3/deploy /var/lib/tsuru
run cp /var/lib/tsuru/base/restart /var/lib/tsuru
run cp /var/lib/tsuru/base/start /var/lib/tsuru
run /var/lib/tsuru/base/install
run /var/lib/tsuru/base/setup
run add-apt-repository ppa:fkrull/deadsnakes -y
run apt-get update
run apt-get install python3.4 -y
run rm /usr/bin/python3
run ln -s /usr/bin/python3.4 /usr/bin/python3
run curl -sL https://raw.github.com/pypa/pip/master/contrib/get-pip.py | python3
<commit_msg>python3: fix syntax in Dockerfile<commit_after># this file describes how to build tsuru python3 image
# to run it:
# 1- install docker
# 2- run: $ docker build -t tsuru/python3 https://raw.github.com/tsuru/basebuilder/master/python3/Dockerfile

from	ubuntu:14.04
run	apt-get update
run	apt-get install software-properties-common curl wget -y
run	wget http://github.com/tsuru/basebuilder/tarball/master -O basebuilder.tar.gz --no-check-certificate
run	mkdir /var/lib/tsuru
run	tar -xvf basebuilder.tar.gz -C /var/lib/tsuru --strip 1
run	cp /var/lib/tsuru/python3/deploy /var/lib/tsuru
run	cp /var/lib/tsuru/base/restart /var/lib/tsuru
run	cp /var/lib/tsuru/base/start /var/lib/tsuru
run	/var/lib/tsuru/base/install
run	/var/lib/tsuru/base/setup
run	add-apt-repository ppa:fkrull/deadsnakes -y
run	apt-get update
run	apt-get install python3.4 -y --force-yes
run	rm -f /usr/bin/python3
run	ln -s /usr/bin/python3.4 /usr/bin/python3
run	curl -sL https://raw.github.com/pypa/pip/master/contrib/get-pip.py | python3

{'fraction_non_alphanumeric': 0.12947103274559194, 'fraction_numerical': 0.018639798488664986, 'mean_word_length': 3.629370629370629, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, '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': '6842961', 'n_tokens_mistral': 786, 'n_tokens_neox': 759, 'n_words': 192}