<commit_before>FROM        scratch
MAINTAINER  <NAME> <<EMAIL>>

ADD         cc7_x86_64.tar.gz /
RUN         yum -y update && yum -y install epel-release
RUN         yum -y install                     \
                       cmake                   \
                       curl-devel              \
                       fuse-devel              \
                       gcc                     \
                       gcc-c++                 \
                       git                     \
                       hardlink                \
                       libattr-devel           \
                       libcap-devel            \
                       libuuid-devel           \
                       make                    \
                       openssl-devel           \
                       policycoreutils-python  \
                       python-devel            \
                       rpm-build               \
                       selinux-policy-devel    \
                       selinux-policy-targeted \
                       sysvinit-tools          \
                       which                   \
                       valgrind-devel          \
                       voms-devel              \
                       zlib-devel

RUN         useradd sftnight

RUN curl -o /tmp/esl-erlang.rpm \
    http://ecsft.cern.ch/dist/cvmfs/builddeps/otp/esl-erlang_20.0-1~centos~7_amd64.rpm && \
    yum -y install /tmp/esl-erlang.rpm

RUN curl -o /usr/local/bin/rebar3 https://s3.amazonaws.com/rebar3/rebar3 && chmod +x /usr/local/bin/rebar3 && /usr/local/bin/rebar3 local install

RUN curl -o /tmp/go.tar.gz http://ecsft.cern.ch/dist/cvmfs/builddeps/go1.8.4.linux-amd64.tar.gz && \
    cd /tmp && tar xfz go.tar.gz
ENV GOROOT="/tmp/go"

USER        sftnight
WORKDIR     /home/sftnight<commit_msg>use upstream cc7 golang compiler<commit_after>FROM        scratch
MAINTAINER  <NAME> <<EMAIL>>

ADD         cc7_x86_64.tar.gz /
RUN         yum -y update && yum -y install epel-release
RUN         yum -y install                     \
                       cmake                   \
                       curl-devel              \
                       fuse-devel              \
                       gcc                     \
                       gcc-c++                 \
                       git                     \
                       golang                  \
                       hardlink                \
                       libattr-devel           \
                       libcap-devel            \
                       libuuid-devel           \
                       make                    \
                       openssl-devel           \
                       policycoreutils-python  \
                       python-devel            \
                       rpm-build               \
                       selinux-policy-devel    \
                       selinux-policy-targeted \
                       sysvinit-tools          \
                       which                   \
                       valgrind-devel          \
                       voms-devel              \
                       zlib-devel

RUN         useradd sftnight

RUN curl -o /tmp/esl-erlang.rpm \
    http://ecsft.cern.ch/dist/cvmfs/builddeps/otp/esl-erlang_20.0-1~centos~7_amd64.rpm && \
    yum -y install /tmp/esl-erlang.rpm

RUN curl -o /usr/local/bin/rebar3 https://s3.amazonaws.com/rebar3/rebar3 && chmod +x /usr/local/bin/rebar3 && /usr/local/bin/rebar3 local install

USER        sftnight
WORKDIR     /home/sftnight
{'fraction_non_alphanumeric': 0.07523862998315553, 'fraction_numerical': 0.011791128579449747, 'mean_word_length': 0.6518312471024571, 'pattern_counts': {'":': 0, '<': 9, '<?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': 10, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '229770', 'n_tokens_mistral': 997, 'n_tokens_neox': 882, 'n_words': 152}