<commit_before>FROM dzwicker/docker-ubuntu:latest
MAINTAINER <EMAIL>

# add our user and group first to make sure their IDs get assigned consistently, regardless of whatever dependencies get added
RUN \
    mkdir -p /var/lib/upsource && \
    groupadd --gid 2000 upsource && \
    useradd --system -d /var/lib/upsource --uid 2000 --gid upsource upsource && \
    chown -R upsource:upsource /var/lib/upsource

######### Install hub ###################
COPY entry-point.sh /entry-point.sh

RUN \
    export UPSOURCE_VERSION=3.0.4237 && \
    mkdir -p /usr/local && \
    mkdir -p /var/lib/upsource && \
    cd /usr/local && \
    curl -L https://download.jetbrains.com/upsource/upsource-${UPSOURCE_VERSION}.zip > upsource.zip && \
    unzip upsource.zip && \
    rm -rf Upsource/internal/java/linux-x64/man && \
    rm -rf Upsource/internal/java/mac-x64 && \
    rm -rf Upsource/internal/java/windows-amd64 && \
    mv Upsource upsource && \
    echo "$UPSOURCE_VERSION" > upsource/version.docker.image && \
    rm -f upsource.zip && \
    chown -R upsource:upsource /usr/local/upsource && \
    chmod -R u+rwxX /usr/local/upsource/internal/java/linux-x64

USER upsource
ENV HOME=/var/lib/upsource
EXPOSE 8080
ENTRYPOINT ["/entry-point.sh"]
CMD ["run"]<commit_msg>update to version 3.0.1 build 4291<commit_after>FROM dzwicker/docker-ubuntu:latest
MAINTAINER <EMAIL>

# add our user and group first to make sure their IDs get assigned consistently, regardless of whatever dependencies get added
RUN \
    mkdir -p /var/lib/upsource && \
    groupadd --gid 2000 upsource && \
    useradd --system -d /var/lib/upsource --uid 2000 --gid upsource upsource && \
    chown -R upsource:upsource /var/lib/upsource

######### Install hub ###################
COPY entry-point.sh /entry-point.sh

RUN \
    export UPSOURCE_VERSION=3.0.4291 && \
    mkdir -p /usr/local && \
    mkdir -p /var/lib/upsource && \
    mkdir -p /usr/local/upsource && \
    cd /usr/local/upsource && \
    curl -L https://download.jetbrains.com/upsource/upsource-${UPSOURCE_VERSION}.zip > upsource.zip && \
    unzip upsource.zip && \
    rm -rf internal/java/linux-x64/man && \
    rm -rf internal/java/mac-x64 && \
    rm -rf internal/java/windows-amd64 && \
    echo "$UPSOURCE_VERSION" > version.docker.image && \
    rm -f upsource.zip && \
    chown -R upsource:upsource /usr/local/upsource && \
    chmod -R u+rwxX /usr/local/upsource/internal/java/linux-x64

USER upsource
ENV HOME=/var/lib/upsource
EXPOSE 8080
ENTRYPOINT ["/entry-point.sh"]
CMD ["run"]
{'fraction_non_alphanumeric': 0.15637371338083927, 'fraction_numerical': 0.023357086302454474, 'mean_word_length': 2.8580152671755723, 'pattern_counts': {'":': 0, '<': 5, '<?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': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '39797', 'n_tokens_mistral': 921, 'n_tokens_neox': 856, 'n_words': 210}