<commit_before>FROM ubuntu:14.04
MAINTAINER shun

RUN set -x && \
	apt-get update && \
	apt-get install -y \
		apt-transport-https \
		bash-completion \
		ca-certificates \
		curl \
		git \
		language-pack-ja \
		language-pack-ja-base \
		man \
		manpages-dev \
		ssh \
		unzip \
		vim \
		&& \
	apt-get clean

RUN apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys <KEY> && \
	echo 'deb https://apt.dockerproject.org/repo ubuntu-trusty main' > /etc/apt/sources.list.d/docker.list && \
	apt-get update && \
	apt-get install -y \
		docker-engine \
		&& \
	apt-get clean

RUN useradd -s /bin/bash sakai && \
	usermod -aG sudo sakai && \
	echo '%sudo	ALL=(ALL:ALL) NOPASSWD: ALL' > /etc/sudoers.d/sudo-nopasswd && \
	mkdir -p /home/sakai/bin && \
	chown sakai.sakai -R /home/sakai

COPY development-environment-setup /home/sakai/bin
COPY docker-entrypoint.sh /usr/local/bin

EXPOSE 22

ENTRYPOINT ["docker-entrypoint.sh"]
CMD ["/usr/sbin/sshd","-D"]<commit_msg>env の指定を追加<commit_after>FROM ubuntu:14.04
MAINTAINER shun

RUN set -x && \
	apt-get update && \
	apt-get install -y \
		apt-transport-https \
		bash-completion \
		ca-certificates \
		curl \
		git \
		language-pack-ja \
		language-pack-ja-base \
		man \
		manpages-dev \
		ssh \
		unzip \
		vim \
		&& \
	apt-get clean

RUN apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys <KEY> && \
	echo 'deb https://apt.dockerproject.org/repo ubuntu-trusty main' > /etc/apt/sources.list.d/docker.list && \
	apt-get update && \
	apt-get install -y \
		docker-engine \
		&& \
	apt-get clean

RUN useradd -s /bin/bash sakai && \
	usermod -aG sudo sakai && \
	echo '%sudo	ALL=(ALL:ALL) NOPASSWD: ALL' > /etc/sudoers.d/sudo-nopasswd && \
	mkdir -p /home/sakai/bin && \
	chown sakai.sakai -R /home/sakai

COPY development-environment-setup /home/sakai/bin
COPY docker-entrypoint.sh /usr/local/bin

ENV LANG ja_JP.UTF-8

EXPOSE 22

ENTRYPOINT ["docker-entrypoint.sh"]
CMD ["/usr/sbin/sshd","-D"]
{'fraction_non_alphanumeric': 0.1616978271854472, 'fraction_numerical': 0.010611419909044972, 'mean_word_length': 2.6, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, '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': '1180383', 'n_tokens_mistral': 907, 'n_tokens_neox': 810, 'n_words': 165}