<commit_before><commit_msg>Create Dockerfile for 20.04 Focal<commit_after>ARG BASE_IMAGE_TAG=latest
FROM ubuntu:focal
LABEL maintainer="edxops"

# Set locale to UTF-8 which is not the default for docker.
# See the links for details:
# http://jaredmarkell.com/docker-and-locales/
# https://github.com/docker-library/python/issues/13
# https://github.com/docker-library/python/pull/14/files
# Also install software-properties-common to get apt-add-repository
RUN apt-get update &&\
    apt-get install -y locales software-properties-common &&\
    locale-gen en_US.UTF-8
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US:en
ENV LC_ALL en_US.UTF-8

ENV ANSIBLE_REPO="https://github.com/edx/ansible"
ENV CONFIGURATION_REPO="https://github.com/edx/configuration.git"
ARG OPENEDX_RELEASE=master
ENV CONFIGURATION_VERSION="${OPENEDX_RELEASE}"

# Add the deadsnakes PPA to install Python 3.8
RUN apt-add-repository -y ppa:deadsnakes/ppa
RUN apt-get update &&\
    apt-get install -y python3.8-dev python3.8-distutils

ADD util/install/ansible-bootstrap.sh /tmp/ansible-bootstrap.sh
RUN chmod +x /tmp/ansible-bootstrap.sh
RUN /tmp/ansible-bootstrap.sh

{'fraction_non_alphanumeric': 0.11562224183583407, 'fraction_numerical': 0.01588702559576346, 'mean_word_length': 4.586206896551724, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, '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': '5919684', 'n_tokens_mistral': 412, 'n_tokens_neox': 393, 'n_words': 91}