<commit_before>FROM ubuntu:bionic

USER root
ENV DEBIAN_FRONTEND noninteractive

RUN dpkg-divert --local --rename --add /sbin/initctl
RUN ln -sf /bin/true /sbin/initctl

RUN apt-get update && apt-get install -y openssh-server curl lsb-release sudo make locales python build-essential aptitude rsync jq netcat software-properties-common net-tools dnsmasq unzip perl ruby language-pack-en vim man screen runit nfs-common portmap gettext-base libffi-dev libssl-dev libreadline-dev zlib1g-dev libxml2-dev libxslt1-dev autoconf automake libtool
RUN add-apt-repository -y ppa:git-core/ppa && apt-get update && apt-get install -y git
RUN apt-get update && apt-get upgrade -y

RUN locale-gen en_US.UTF-8
RUN dpkg-reconfigure --frontend=noninteractive locales
RUN update-locale LANG=en_US.UTF-8

RUN groupadd -g 497 docker
RUN groupadd -g 1000 ubuntu
RUN useradd -u 1000 -g ubuntu -d /home/ubuntu -m -s /bin/bash -p '*' ubuntu
RUN usermod -G docker ubuntu

RUN echo "ubuntu ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
RUN echo "Defaults !requiretty" >> /etc/sudoers

RUN install -d -m 0700 -o ubuntu -g ubuntu /data

RUN curl -o /tini https://github.com/krallin/tini/releases/download/v0.18.0/tini-static-amd64
RUN chmod 755 /tini
ENTRYPOINT ["/tini", "--", "/service"]
CMD []

COPY bootstrap /bootstrap
COPY service /service

USER ubuntu
RUN env SERVICE_DONE=/tmp/.done-shell /service
<commit_msg>follow symnlinks to download tini<commit_after>FROM ubuntu:bionic

USER root
ENV DEBIAN_FRONTEND noninteractive

RUN dpkg-divert --local --rename --add /sbin/initctl
RUN ln -sf /bin/true /sbin/initctl

RUN apt-get update && apt-get install -y openssh-server curl lsb-release sudo make locales python build-essential aptitude rsync jq netcat software-properties-common net-tools dnsmasq unzip perl ruby language-pack-en vim man screen runit nfs-common portmap gettext-base libffi-dev libssl-dev libreadline-dev zlib1g-dev libxml2-dev libxslt1-dev autoconf automake libtool
RUN add-apt-repository -y ppa:git-core/ppa && apt-get update && apt-get install -y git
RUN apt-get update && apt-get upgrade -y

RUN locale-gen en_US.UTF-8
RUN dpkg-reconfigure --frontend=noninteractive locales
RUN update-locale LANG=en_US.UTF-8

RUN groupadd -g 497 docker
RUN groupadd -g 1000 ubuntu
RUN useradd -u 1000 -g ubuntu -d /home/ubuntu -m -s /bin/bash -p '*' ubuntu
RUN usermod -G docker ubuntu

RUN echo "ubuntu ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
RUN echo "Defaults !requiretty" >> /etc/sudoers

RUN install -d -m 0700 -o ubuntu -g ubuntu /data

RUN curl -L -o /tini https://github.com/krallin/tini/releases/download/v0.18.0/tini-static-amd64
RUN chmod 755 /tini
ENTRYPOINT ["/tini", "--", "/service"]
CMD []

COPY bootstrap /bootstrap
COPY service /service

USER ubuntu
RUN env SERVICE_DONE=/tmp/.done-shell /service

{'fraction_non_alphanumeric': 0.10554561717352415, 'fraction_numerical': 0.02075134168157424, 'mean_word_length': 3.913884007029877, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 11, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 3, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1423994', 'n_tokens_mistral': 1076, 'n_tokens_neox': 959, 'n_words': 325}