<commit_before>FROM analyticsbase
MAINTAINER Charmander

RUN apt-get install -y build-essential make gcc

ENV REDISVERSION 2.8.11

RUN wget \
    --no-cookies \
    --progress=bar:force \
    http://download.redis.io/releases/redis-$REDISVERSION.tar.gz \
    && tar xzf redis-$REDISVERSION.tar.gz \
    && cd redis-$REDISVERSION \
    && make \
    && cd .. \
    && ln -sfn redis-$REDISVERSION redis

#VOLUME [ "/data" ]
RUN mkdir /data

ADD files/redis.conf redis.conf

EXPOSE 6379

ENV NODEVERSION v0.10.30
ENV CMDVERSION 0.2.1
RUN wget \
    --no-cookies \
    --progress=bar:force \
    http://nodejs.org/dist/$NODEVERSION/node-$NODEVERSION-linux-x64.tar.gz \
    && tar -xvf node-$NODEVERSION-linux-x64.tar.gz \
    && mv node-$NODEVERSION-linux-x64 /opt/node \
    && cd /usr/local/bin && ln -s /opt/node/bin/* . \
    && npm install -g redis-commander@$CMDVERSION

EXPOSE 8081

# Clean up APT when done.
RUN apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

ENTRYPOINT redis/src/redis-server redis.conf & redis-commander
<commit_msg>Update - changed download location for redis<commit_after>FROM analyticsbase
MAINTAINER Charmander

RUN apt-get install -y build-essential make gcc

ENV REDISVERSION 2.8.11

RUN wget \
    --no-cookies \
    --progress=bar:force \
    https://github.com/antirez/redis/archive/$REDISVERSION.tar.gz \
    && tar xzf $REDISVERSION.tar.gz \
    && cd redis-$REDISVERSION \
    && make \
    && cd .. \
    && ln -sfn redis-$REDISVERSION redis

#VOLUME [ "/data" ]
RUN mkdir /data

ADD files/redis.conf redis.conf

EXPOSE 6379

ENV NODEVERSION v0.10.30
ENV CMDVERSION 0.2.1
RUN wget \
    --no-cookies \
    --progress=bar:force \
    http://nodejs.org/dist/$NODEVERSION/node-$NODEVERSION-linux-x64.tar.gz \
    && tar -xvf node-$NODEVERSION-linux-x64.tar.gz \
    && mv node-$NODEVERSION-linux-x64 /opt/node \
    && cd /usr/local/bin && ln -s /opt/node/bin/* . \
    && npm install -g redis-commander@$CMDVERSION

EXPOSE 8081

# Clean up APT when done.
RUN apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

ENTRYPOINT redis/src/redis-server redis.conf & redis-commander

{'fraction_non_alphanumeric': 0.14887640449438203, 'fraction_numerical': 0.024344569288389514, 'mean_word_length': 2.5915966386554623, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 1, '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': '1521546', 'n_tokens_mistral': 849, 'n_tokens_neox': 801, 'n_words': 175}