<commit_before>FROM rockylinux:8

RUN groupadd --gid 808 scitech-group
RUN useradd --gid 808 --uid 550 --create-home --password <PASSWORD>' scitech

RUN dnf -y update && \
    dnf -y install 'dnf-command(config-manager)' && \
    dnf -y config-manager --set-enabled powertools && \
    dnf -y config-manager --add-repo=https://download.docker.com/linux/centos/docker-ce.repo && \
    dnf -y install epel-release

RUN dnf -y install --allowerasing --nobest \
     curl \
     gcc \
     docker-ce \
     emacs \
     glibc-langpack-en \
     graphviz \
     java-11-openjdk-devel \
     langpacks-en \
     nano \
     perl-Getopt-Long \
     python3-devel \
     python3-GitPython \
     python3-pika \
     python3-pip \
     python3-pyOpenSSL \
     python3-PyYAML \
     sudo \
     supervisor \
     tar \
     vim \
     wget

ADD ./config/supervisord.conf /etc/supervisor/conf.d/supervisord.conf
ADD ./config/wrapdocker /usr/local/bin/wrapdocker
ADD ./config/htcondor-wrapper /usr/local/bin/htcondor-wrapper
RUN chmod +x /usr/local/bin/wrapdocker /usr/local/bin/htcondor-wrapper
RUN usermod -aG docker scitech

# Python packages
RUN python3 -m pip install -U pip setuptools
RUN python3 -m pip install jupyter

# Locale and timezone
ENV LANG en_US.UTF-8
RUN cp /usr/share/zoneinfo/America/Los_Angeles /etc/localtime

# HTCondor
RUN dnf -y config-manager --add-repo=https://research.cs.wisc.edu/htcondor/yum/repo.d/htcondor-stable-rhel8.repo && \
    rpm --import https://research.cs.wisc.edu/htcondor/yum/RPM-GPG-KEY-HTCondor && \<commit_msg>PM-1873 install setuptools_scm but via pip. argon2-cffi-bindings which jupyter requires has a requirements for setuptools_scm>=6.2 , which the native package manager install does not satisfy<commit_after>FROM rockylinux:8

RUN groupadd --gid 808 scitech-group
RUN useradd --gid 808 --uid 550 --create-home --password <PASSWORD>' scitech

RUN dnf -y update && \
    dnf -y install 'dnf-command(config-manager)' && \
    dnf -y config-manager --set-enabled powertools && \
    dnf -y config-manager --add-repo=https://download.docker.com/linux/centos/docker-ce.repo && \
    dnf -y install epel-release

RUN dnf -y install --allowerasing --nobest \
     curl \
     gcc \
     docker-ce \
     emacs \
     glibc-langpack-en \
     graphviz \
     java-11-openjdk-devel \
     langpacks-en \
     nano \
     perl-Getopt-Long \
     python3-devel \
     python3-GitPython \
     python3-pika \
     python3-pip \
     python3-pyOpenSSL \
     python3-PyYAML \
     sudo \
     supervisor \
     tar \
     vim \
     wget

ADD ./config/supervisord.conf /etc/supervisor/conf.d/supervisord.conf
ADD ./config/wrapdocker /usr/local/bin/wrapdocker
ADD ./config/htcondor-wrapper /usr/local/bin/htcondor-wrapper
RUN chmod +x /usr/local/bin/wrapdocker /usr/local/bin/htcondor-wrapper
RUN usermod -aG docker scitech

# Python packages
# argon2-cffi-bindings which jupyter requires has a requirements for setuptools_scm>=6.2
RUN python3 -m pip install 'setuptools_scm>=6'
RUN python3 -m pip install jupyter

# Locale and timezone
ENV LANG en_US.UTF-8
RUN cp /usr/share/zoneinfo/America/Los_Angeles /etc/localtime

# HTCondor
RUN dnf -y config-manager --add-repo=https://research.cs.wisc.edu/htcondor/yum/repo.d/htcondor-stable-rhel8.repo && \
    rpm --import https://research.cs.wisc.edu/htcondor/yum/RPM-GPG-KEY-HTCondor && \
{'fraction_non_alphanumeric': 0.12105889351576443, 'fraction_numerical': 0.01635930993456276, 'mean_word_length': 2.5852878464818763, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 8, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '211650', 'n_tokens_mistral': 1279, 'n_tokens_neox': 1219, 'n_words': 268}