<commit_before>FROM acencini/rpi-python-serial-wiringpi:latest
MAINTAINER <NAME> <<EMAIL>> 

RUN $(cat /etc/apt/sources.list | sed 's/wheezy/jessie/g' > /etc/apt/sources.list.bak) && \
    mv /etc/apt/sources.list.bak /etc/apt/sources.list && \
    $(echo "deb http://www.deb-multimedia.org jessie main non-free" > /etc/apt/sources.list.d/deb-multimedia.list) && \
    apt-get update && apt-get install -y --force-yes \
        curl faad flac gcc git lame make python-alsaaudio \
             python-numpy python-pip python-setuptools unzip vorbis-tools \
             python-beautifulsoup python-mutagen python-simplejson \
             node-underscore wget ffmpeg festival festival-freebsoft-utils \
             festvox-don --no-install-recommends && \
    git clone https://togiles@bitbucket.org/togiles/lightshowpi.git && \
    cd lightshowpi && \
    git fetch && git checkout stable && \
    ./install.sh && \
    cd .. && \
    git clone https://github.com/aitorpazos/nodedoy.git

COPY defaults.cfg /data/lightshowpi/config/defaults.cfg

VOLUME /config
EXPOSE 8085
ENV SYNCHRONIZED_LIGHTS_HOME /data/lightshowpi
ENV PATH "$PATH:${SYNCHRONIZED_LIGHTS_HOME}/bin"
CMD nodejs nodedoy/source/nodedoy.js /config/nodedoy.json<commit_msg>Add psmisc package to Dockerfile in order to have some more utils available for commands (like killall)<commit_after>FROM acencini/rpi-python-serial-wiringpi:latest
MAINTAINER <NAME> <<EMAIL>> 

RUN $(cat /etc/apt/sources.list | sed 's/wheezy/jessie/g' > /etc/apt/sources.list.bak) && \
    mv /etc/apt/sources.list.bak /etc/apt/sources.list && \
    $(echo "deb http://www.deb-multimedia.org jessie main non-free" > /etc/apt/sources.list.d/deb-multimedia.list) && \
    apt-get update && apt-get install -y --force-yes \
        curl faad flac gcc git lame make python-alsaaudio \
             python-numpy python-pip python-setuptools unzip vorbis-tools \
             python-beautifulsoup python-mutagen python-simplejson \
             node-underscore wget ffmpeg festival festival-freebsoft-utils \
             festvox-don psmisc --no-install-recommends && \
    git clone https://togiles@bitbucket.org/togiles/lightshowpi.git && \
    cd lightshowpi && \
    git fetch && git checkout stable && \
    ./install.sh && \
    cd .. && \
    git clone https://github.com/aitorpazos/nodedoy.git

COPY defaults.cfg /data/lightshowpi/config/defaults.cfg

VOLUME /config
EXPOSE 8085
ENV SYNCHRONIZED_LIGHTS_HOME /data/lightshowpi
ENV PATH "$PATH:${SYNCHRONIZED_LIGHTS_HOME}/bin"
CMD nodejs nodedoy/source/nodedoy.js /config/nodedoy.json
{'fraction_non_alphanumeric': 0.12825495530509134, 'fraction_numerical': 0.003109211037699184, 'mean_word_length': 2.9357798165137616, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 13, 'https://': 4, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 2, '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': '5128389', 'n_tokens_mistral': 927, 'n_tokens_neox': 887, 'n_words': 180}