<commit_before>FROM ubuntu:14.04
MAINTAINER <NAME> <<EMAIL>>




# Java and development environment packages.

RUN sed -i~ -e 's/archive.ubuntu.com/ftp.jaist.ac.jp/' /etc/apt/sources.list \
 && apt-get update \
 && apt-get install -y build-essential libboost-dev libboost-test-dev libboost-program-options-dev libboost-system-dev libboost-filesystem-dev libevent-dev automake libtool flex bison pkg-config g++ libssl-dev curl wget dpkg php5-dev php5-cli phpunit erlang erlang-base erlang-eunit erlang-dev \
 && apt-get update \
 && DEBIAN_FRONTEND=noninteractive apt-get install -y software-properties-common \
 && add-apt-repository ppa:webupd8team/java \
 && apt-get update
RUN echo oracle-java8-installer shared/accepted-oracle-license-v1-1 select true | /usr/bin/debconf-set-selections
RUN apt-get update && apt-get clean
RUN apt-get install -y oracle-java8-installer
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y oracle-java8-set-default

# automake

RUN wget http://ftp.jp.debian.org/debian/pool/main/a/automake-1.15/automake_1.15-2_all.deb
RUN dpkg -i automake_1.15-2_all.deb

# editor and others.
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y vim git

# thrift 0.9.2
 
RUN git clone https://github.com/apache/thrift.git \
 && cd thrift \
 && ./bootstrap.sh \
 && ./configure \
 && make \
 && make install

# RUN wget -O /tmp/thrift-0.9.2.tar.gz http://www.apache.org/dyn/closer.cgi?path=/thrift/0.9.2/thrift-0.9.2.tar.gz \
#  && tar xzf /tmp/thrift-0.9.2.tar.gz \<commit_msg>Update dockerfile<commit_after>FROM ubuntu:14.04
MAINTAINER <NAME> <<EMAIL>>




# Java and development environment packages.

RUN sed -i~ -e 's/archive.ubuntu.com/ftp.jaist.ac.jp/' /etc/apt/sources.list \
 && apt-get update \
 && apt-get install -y build-essential libboost-dev libboost-test-dev libboost-program-options-dev libboost-system-dev libboost-filesystem-dev libevent-dev automake libtool flex bison pkg-config g++ libssl-dev curl wget dpkg php5-dev php5-cli phpunit erlang erlang-base erlang-eunit erlang-dev \
 && apt-get update \
 && DEBIAN_FRONTEND=noninteractive apt-get install -y software-properties-common \
 && add-apt-repository ppa:webupd8team/java \
 && apt-get update
RUN echo oracle-java8-installer shared/accepted-oracle-license-v1-1 select true | /usr/bin/debconf-set-selections
RUN apt-get update && apt-get clean
RUN apt-get install -y oracle-java8-installer
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y oracle-java8-set-default

# automake

RUN wget http://ftp.jp.debian.org/debian/pool/main/a/automake-1.15/automake_1.15-3_all.deb
RUN dpkg -i automake_1.15-3_all.deb

# editor and others.
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y vim git

# thrift 0.9.2
 
RUN git clone https://github.com/apache/thrift.git \
 && cd thrift \
 && ./bootstrap.sh \
 && ./configure \
 && make \
 && make install

# RUN wget -O /tmp/thrift-0.9.2.tar.gz http://www.apache.org/dyn/closer.cgi?path=/thrift/0.9.2/thrift-0.9.2.tar.gz \
#  && tar xzf /tmp/thrift-0.9.2.tar.gz \
{'fraction_non_alphanumeric': 0.13857428381079281, 'fraction_numerical': 0.02531645569620253, 'mean_word_length': 3.605828220858896, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, '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': '3702198', 'n_tokens_mistral': 1168, 'n_tokens_neox': 1103, 'n_words': 237}