<commit_before>FROM ubuntu:16.04
MAINTAINER rcarmo

# Base packages, including useful fonts
RUN echo ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true | debconf-set-selections \
 && apt-get update -y \
 && apt-get dist-upgrade -y \
 && apt-get install -y \
	ca-certificates \
	fonts-liberation \
	fonts-noto \
	fonts-roboto \
	fonts-symbola \
	gconf-service \
	hicolor-icon-theme \
	language-pack-en-base \
	libappindicator1 \
	libasound2 \
	libcanberra-gtk-module \
	libcurl3 \
	libexif-dev \
	libfontconfig1 \
	libfreetype6 \
	libgconf-2-4 \
	libgl1-mesa-dri \
	libgl1-mesa-glx \
	libnspr4 \
	libnss3 \
	libpango1.0-0 \
	libv4l-0 \
	libxss1 \
	libxtst6 \
	lsb-base \
	software-properties-common \
	strace \
	ttf-mscorefonts-installer \
	wget \
	xdg-utils \
 && locale-gen en_US.UTF-8 \
 && apt-get autoremove -y \
 && apt-get clean \
 && rm -rf /var/lib/apt/lists/*

# Install Infinality
RUN add-apt-repository ppa:no1wantdthisname/ppa \
 && apt-get update \
 && apt-get install -y fontconfig-infinality \
 && cd /etc/fonts/infinality \
 && bash ./infctl.sh setstyle osx \
 && apt-get autoremove -y \
 && apt-get clean \
 && rm -rf /var/lib/apt/lists/* 

# Install Chrome
RUN wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb -O /tmp/chrome.deb \
 && dpkg -i /tmp/chrome.deb \
 && apt-get autoremove -y \
 && apt-get clean \
 && rm -rf /tmp/*.deb \
 && rm -rf /var/lib/apt/lists/*

# Install other tools (move these to initial install when image is stable)
RUN add-apt-repository universe\
 && apt-get install -y \
 && pngquant \
 && rm -rf /var/lib/apt/lists/* 

ENTRYPOINT [ "google-chrome" ]
CMD [ "--user-data-dir=/data" ]
<commit_msg>Fix ttfcorefonts install<commit_after>FROM ubuntu:16.04
MAINTAINER rcarmo

# Base packages, including useful fonts
RUN echo ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true | debconf-set-selections \
 && apt-get update -y \
 && apt-get dist-upgrade -y \
 && apt-get install -y \
    apt-transport-https \
	ca-certificates \
	fonts-liberation \
	fonts-noto \
	fonts-roboto \
	fonts-symbola \
	gconf-service \
	hicolor-icon-theme \
	language-pack-en-base \
	libappindicator1 \
	libasound2 \
	libcanberra-gtk-module \
	libcurl3 \
	libexif-dev \
	libfontconfig1 \
	libfreetype6 \
	libgconf-2-4 \
	libgl1-mesa-dri \
	libgl1-mesa-glx \
	libnspr4 \
	libnss3 \
	libpango1.0-0 \
	libv4l-0 \
	libxss1 \
	libxtst6 \
	lsb-base \
	software-properties-common \
	strace \
	ttf-mscorefonts-installer \
	wget \
	xdg-utils \
 && locale-gen en_US.UTF-8 \
 && apt-get autoremove -y \
 && apt-get clean \
 && rm -rf /var/lib/apt/lists/*

# Install Infinality
RUN add-apt-repository ppa:no1wantdthisname/ppa \
 && apt-get update \
 && apt-get install -y fontconfig-infinality \
 && cd /etc/fonts/infinality \
 && bash ./infctl.sh setstyle osx \
 && apt-get autoremove -y \
 && apt-get clean \
 && rm -rf /var/lib/apt/lists/* 

# Install Chrome
RUN wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb -O /tmp/chrome.deb \
 && dpkg -i /tmp/chrome.deb \
 && apt-get autoremove -y \
 && apt-get clean \
 && rm -rf /tmp/*.deb \
 && rm -rf /var/lib/apt/lists/*

# Install other tools (move these to initial install when image is stable)
RUN add-apt-repository universe\
 && apt-get install -y \
 && pngquant \
 && rm -rf /var/lib/apt/lists/* 

ENTRYPOINT [ "google-chrome" ]
CMD [ "--user-data-dir=/data" ]

{'fraction_non_alphanumeric': 0.14593649868919312, 'fraction_numerical': 0.015147101660355374, 'mean_word_length': 2.7245119305856833, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '4094543', 'n_tokens_mistral': 1411, 'n_tokens_neox': 1345, 'n_words': 277}