<commit_before>FROM ubuntu:14.04

MAINTAINER <EMAIL>

RUN sed 's/main$/main universe/' -i /etc/apt/sources.list

# Install dependencies
RUN apt-get update && apt-get install -y \
    unzip wget supervisor \
    python2.7 python-pil python-matplotlib python-pip \
    python-numpy python-tables python-scipy \
    openjdk-7-jre-headless ice35-services python-zeroc-ice \
    mencoder nano postgresql-client-9.3 postgresql-client-common

ENV BRANCH 5.2.0
ENV LABEL ICE=3.5

# Path variables
ENV OMERO_DIR /omero
ENV OMERO_HOME $OMERO_DIR/OMERO.server

# Add omero user and install omego tools
RUN useradd -m omero
RUN pip install -U omego

RUN mkdir $OMERO_DIR
RUN chown omero $OMERO_DIR

# Download and install omero with omego
USER omero
WORKDIR $OMERO_DIR
#RUN omego download --branch=$BRANCH server --labels $LABEL
RUN wget http://downloads.openmicroscopy.org/omero/$BRANCH/./artifacts/OMERO.server-$BRANCH-ice35-b12.zip
RUN unzip OMERO.server-*.zip
RUN rm OMERO.server*zip
RUN ln -s OMERO.server* $OMERO_HOME

USER root<commit_msg>Update to Omero 5.2.1<commit_after>FROM ubuntu:14.04

MAINTAINER <EMAIL>

RUN sed 's/main$/main universe/' -i /etc/apt/sources.list

# Install dependencies
RUN apt-get update && apt-get install -y \
    unzip wget supervisor \
    python2.7 python-pil python-matplotlib python-pip \
    python-numpy python-tables python-scipy \
    openjdk-7-jre-headless ice35-services python-zeroc-ice \
    mencoder nano postgresql-client-9.3 postgresql-client-common

ENV BRANCH 5.2.1
ENV LABEL ICE=3.5

# Path variables
ENV OMERO_DIR /omero
ENV OMERO_HOME $OMERO_DIR/OMERO.server

# Add omero user and install omego tools
RUN useradd -m omero
RUN pip install -U omego

RUN mkdir $OMERO_DIR
RUN chown omero $OMERO_DIR

# Download Omero with omego
USER omero
WORKDIR $OMERO_DIR

RUN omego download --branch=$BRANCH server --labels $LABEL

# Install Omero
RUN unzip OMERO.server-*.zip
RUN rm OMERO.server*zip
RUN ln -s OMERO.server* $OMERO_HOME

USER root
{'fraction_non_alphanumeric': 0.09215189873417722, 'fraction_numerical': 0.019746835443037975, 'mean_word_length': 3.7845036319612593, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 5, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2447070', 'n_tokens_mistral': 756, 'n_tokens_neox': 727, 'n_words': 209}