<commit_before>FROM ubuntu:16.04
MAINTAINER <NAME> <<EMAIL>>
LABEL Description="This image builds eatmemory so that you can specify the amount of MB as a docker env var." 

RUN DEBIAN_FRONTEND=noninteractive apt-get update -y -q
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y -q make gcc

ENV user eatmemory
RUN useradd -d /home/$user -m -s /bin/bash $user
RUN echo "$user ALL=(ALL) NOPASSWD:ALL" > /etc/sudoers.d/$user
RUN chmod 0440 /etc/sudoers.d/$user

USER $user
WORKDIR /home/$user
RUN mkdir -pv code
COPY . ./code/
RUN sudo chown $user.$user -R /home/$user/code
WORKDIR /home/$user/code
RUN make && sudo make install<commit_msg>Add a first Dockerfile that installs eatmemory<commit_after>FROM ubuntu:16.04
MAINTAINER <NAME> <<EMAIL>>
LABEL Description="This image builds eatmemory so that you can specify the amount of MB as a docker env var." 

RUN DEBIAN_FRONTEND=noninteractive apt-get update -y -q
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y -q make gcc

RUN mkdir -pv /root/code
COPY . /root/code/
RUN chown root.root -R /root/code
WORKDIR /root/code
RUN make install
{'fraction_non_alphanumeric': 0.09945255474452555, 'fraction_numerical': 0.010948905109489052, 'mean_word_length': 4.199052132701421, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 10, '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': '1134758', 'n_tokens_mistral': 393, 'n_tokens_neox': 367, 'n_words': 141}