<commit_before># 
# everything you need to get a basic Centos 6 environment
# up and running to build RPMs with fpm.
#
# to run:
# 
#   mkdir /tmp/fpmbuild
#   docker build -t fpm-cent6 .
#   docker run -ti -v /tmp/fpmbuild:/tmp/fpmbuild fpm-cent6
#
# This will drop you into a shell where you can add further yum
# dependencies before invoking your fpm command
#
# bonus:  by default, all build RPMs will end up in /tmp/fpmbuild,
#         which is available outside your container to make it easier
#         to transfer your built RPMs around.
#
FROM centos:6
RUN yum update -y
RUN yum -y install rubygems ruby-devel ruby-json gcc gcc-c++ python-setuptools rpm-build openssh-clients
RUN gem install cabin -v 0.7.2 && gem install fpm
RUN mkdir /tmp/fpmbuild
VOLUME ["/tmp/fpmbuild"]
WORKDIR /tmp/fpmbuild
RUN bash
<commit_msg>Attempt to follow the docker best practices<commit_after># 
# everything you need to get a basic Centos 6 environment
# up and running to build RPMs with fpm.
#
# to run:
# 
#   mkdir /tmp/fpmbuild
#   docker build -t fpm-cent6 .
#   docker run -ti -v /tmp/fpmbuild:/tmp/fpmbuild fpm-cent6
#
# This will drop you into a shell where you can add further yum
# dependencies before invoking your fpm command
#
# bonus:  by default, all build RPMs will end up in /tmp/fpmbuild,
#         which is available outside your container to make it easier
#         to transfer your built RPMs around.
#
MAINTAINER <NAME> <<EMAIL>>
FROM centos:6
RUN yum update -y && yum -y install gcc  \
	gcc-c++  \
	openssh-clients \
	python-setuptools  \
	rpm-build  \
	ruby-devel  \
	ruby-json  \
	rubygems \
     && yum clean all
RUN gem install cabin -v 0.7.2 && gem install fpm
RUN mkdir /tmp/fpmbuild
VOLUME ["/tmp/fpmbuild"]
WORKDIR /tmp/fpmbuild
RUN bash

{'fraction_non_alphanumeric': 0.08616780045351474, 'fraction_numerical': 0.007936507936507936, 'mean_word_length': 3.104651162790698, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 6, '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': '6498150', 'n_tokens_mistral': 633, 'n_tokens_neox': 601, 'n_words': 241}