<commit_before>FROM debian:jessie
MAINTAINER <NAME>

# Install Spotify and PulseAudio.
WORKDIR /usr/src
RUN echo "deb http://repository.spotify.com stable non-free" >> /etc/apt/sources.list \
	&& echo "deb-src http://repository.spotify.com stable non-free" >> /etc/apt/sources.list \
	&& apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys <KEY> \
	&& apt-get update \
	&& apt-get install -y --no-install-recommends \
		ttf-wqy-zenhei \
		pulseaudio \
		curl \
		libpangoxft-1.0-0 \
		spotify-client \
	&& curl -Lo libgcrypt11.deb http://ftp.de.debian.org/debian/pool/main/libg/libgcrypt11/libgcrypt11_1.4.5-2+squeeze3_amd64.deb \
	&& curl -Lo libudev0.deb http://ftp.de.debian.org/debian/pool/main/u/udev/libudev0_175-7.2_amd64.deb \
	&& apt-get purge -y --auto-remove curl \
	&& { dpkg -i libgcrypt11.deb || true; } \
	&& rm libgcrypt11.deb \
	&& { dpkg -i libudev0.deb || true; } \
	&& rm libudev0.deb \
	&& rm -rf /var/lib/apt/lists/* \
	&& echo enable-shm=no >> /etc/pulse/client.conf

# Spotify data.
VOLUME ["/data/cache", "/data/config"]
WORKDIR /data
RUN mkdir -p /data/cache \
	&& mkdir -p /data/config
<commit_msg>Build using latest instructions on ubuntu 14.04<commit_after>FROM ubuntu:14.04
MAINTAINER <NAME>

# Install Spotify and PulseAudio.
WORKDIR /usr/src
RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys <KEY> \
	&& echo deb http://repository.spotify.com stable non-free > /etc/apt/sources.list.d/spotify.list \
	&& apt-get update \
	&& apt-get install -y spotify-client pulseaudio xdg-utils libxss1 \
	&& apt-get clean \
	&& echo enable-shm=no >> /etc/pulse/client.conf

# Spotify data.
VOLUME ["/data/cache", "/data/config"]
WORKDIR /data
RUN mkdir -p /data/cache \
	&& mkdir -p /data/config

{'fraction_non_alphanumeric': 0.16990846681922198, 'fraction_numerical': 0.02517162471395881, 'mean_word_length': 3.125, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 16, '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': '439582', 'n_tokens_mistral': 738, 'n_tokens_neox': 681, 'n_words': 142}