<commit_before>#!/bin/bash -e

# Copyright 2013 tsuru authors. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.

# This script is used to install tsuru with docker provisioner.

function extra_kenel() {
	echo Installing kernel extra package
	sudo apt-get update
	sudo apt-get install linux-image-extra-`uname -r` -qqy
}

function add_packages() {
	echo Adding Docker repository
	curl https://get.docker.io/gpg | apt-key add -
	sudo /bin/bash -c "echo deb http://get.docker.io/ubuntu docker main > /etc/apt/sources.list.d/docker.list"

	echo Adding Tsuru repository
	apt-add-repository ppa:tsuru/ppa -y<commit_msg>misc: using sudo to add docker apt-key.<commit_after>#!/bin/bash -e

# Copyright 2013 tsuru authors. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.

# This script is used to install tsuru with docker provisioner.

function extra_kenel() {
	echo Installing kernel extra package
	sudo apt-get update
	sudo apt-get install linux-image-extra-`uname -r` -qqy
}

function add_packages() {
	echo Adding Docker repository
	curl https://get.docker.io/gpg | sudo apt-key add -
	sudo /bin/bash -c "echo deb http://get.docker.io/ubuntu docker main > /etc/apt/sources.list.d/docker.list"

	echo Adding Tsuru repository
	apt-add-repository ppa:tsuru/ppa -y
{'fraction_non_alphanumeric': 0.09608540925266904, 'fraction_numerical': 0.0056939501779359435, 'mean_word_length': 3.75, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '3790498', 'n_tokens_mistral': 495, 'n_tokens_neox': 442, 'n_words': 166}