<commit_before>FROM ubuntu:trusty-20160217

ENV DEBIAN_FRONTEND noninteractive

RUN apt-get update &&\
    apt-get dist-upgrade -y &&\
    apt-get update &&\
    apt-get install -y curl &&\
    apt-get install -y -q redis-server &&\
    apt-get clean &&\
    apt-get autoremove -y &&\
    mkdir /data

ADD bin/flynn-redis /bin/flynn-redis
ADD bin/flynn-redis-api /bin/flynn-redis-api

ADD start.sh /bin/start-flynn-redis
ADD dump.sh /bin/dump-flynn-redis
ADD restore.sh /bin/restore-flynn-redis

ENTRYPOINT ["/bin/start-flynn-redis"]<commit_msg>appliance/redis: Use redis PPA to update to 3.0.x<commit_after>FROM ubuntu:trusty-20160217

ENV DEBIAN_FRONTEND noninteractive

RUN apt-get update &&\
    apt-get dist-upgrade -y &&\
    apt-get install -y curl software-properties-common &&\
    add-apt-repository ppa:chris-lea/redis-server &&\
    apt-get update &&\
    apt-get install -y redis-server &&\
    apt-get clean &&\
    apt-get autoremove -y &&\
    mkdir /data

ADD bin/flynn-redis /bin/flynn-redis
ADD bin/flynn-redis-api /bin/flynn-redis-api

ADD start.sh /bin/start-flynn-redis
ADD dump.sh /bin/dump-flynn-redis
ADD restore.sh /bin/restore-flynn-redis

ENTRYPOINT ["/bin/start-flynn-redis"]
{'fraction_non_alphanumeric': 0.1378737541528239, 'fraction_numerical': 0.014950166112956811, 'mean_word_length': 2.9768976897689767, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '3919048', 'n_tokens_mistral': 490, 'n_tokens_neox': 467, 'n_words': 100}