<commit_before>FROM resin/raspberry-pi-alpine-openjdk:openjdk-8u121-jdk
MAINTAINER <NAME> <<EMAIL>>

RUN apk add --update \
    python \
    python-dev \
    py-pip \
    build-base \
    sense-hat \
  && pip install virtualenv \
  && rm -rf /var/cache/apk/*

RUN mkdir /opt/ulp-mir
WORKDIR /opt/ulp-mir
ADD . /opt/ulp-mir

CMD modprobe i2c-dev && java -jar bin/ulp-mikroinfostrahler-$(cat version.txt).jar
#["java", "-jar", "/opt/ulp-mir/starter.jar"]<commit_msg>Added Python & Sense Hat Lib<commit_after>FROM resin/raspberry-pi-alpine-openjdk:openjdk-8u121-jdk
MAINTAINER <NAME> <<EMAIL>>

RUN apk add --update \
    python \
    python-dev \
    py-pip \
    build-base \
    curl \
  && pip install virtualenv \
  && rm -rf /var/cache/apk/*

RUN mkdir /opt/sense-hat
WORKDIR /opt/sense-hat
RUN curl https://github.com/RPi-Distro/python-sense-hat/archive/v2.2.0.tar.gz | tar xvz \
    && cd python-sense-hat-2.2.0
    && python setup.py install

RUN mkdir /opt/ulp-mir
WORKDIR /opt/ulp-mir
ADD . /opt/ulp-mir

CMD modprobe i2c-dev && java -jar bin/ulp-mikroinfostrahler-$(cat version.txt).jar
#["java", "-jar", "/opt/ulp-mir/starter.jar"]
{'fraction_non_alphanumeric': 0.1656441717791411, 'fraction_numerical': 0.014022787028921999, 'mean_word_length': 2.781456953642384, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 1, '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': '1001765', 'n_tokens_mistral': 475, 'n_tokens_neox': 451, 'n_words': 92}