<commit_before>FROM python:2

ENV VER=${VER:-master} \
    REPO=https://github.com/twhtanghk/docker.esp8266 \
    APP=/usr/src/app

WORKDIR /root

RUN curl -sL https://deb.nodesource.com/setup_4.x | bash - && \
    apt-get update && \
    apt-get -y install git lua5.1 luarocks minicom nodejs && \
    apt-get -y autoremove && \
    apt-get clean && \
    git clone ${REPO} ${APP} && \
    mv ${APP}/.git* ${APP}/* /root && \
    luarocks install moonscript && \
    npm install coffee-script nodemcu-tool -g && \
    pip install pyserial && \
    git clone https://github.com/themadinventor/esptool && \
    git clone https://github.com/4refr0nt/luatool.git

ENTRYPOINT top -b -d 100<commit_msg>add branch name for git clone<commit_after>FROM python:2

ENV VER=${VER:-master} \
    REPO=https://github.com/twhtanghk/docker.esp8266 \
    APP=/usr/src/app

WORKDIR /root

RUN curl -sL https://deb.nodesource.com/setup_4.x | bash - && \
    apt-get update && \
    apt-get -y install git lua5.1 luarocks minicom nodejs && \
    apt-get -y autoremove && \
    apt-get clean && \
    git clone -b $VER $REPO $APP && \
    mv $APP/.git* $APP/* /root && \
    luarocks install moonscript && \
    npm install coffee-script nodemcu-tool -g && \
    pip install pyserial && \
    git clone https://github.com/themadinventor/esptool && \
    git clone https://github.com/4refr0nt/luatool.git

ENTRYPOINT top -b -d 100
{'fraction_non_alphanumeric': 0.1534090909090909, 'fraction_numerical': 0.018465909090909092, 'mean_word_length': 2.4790123456790125, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 8, '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': '280450', 'n_tokens_mistral': 538, 'n_tokens_neox': 511, 'n_words': 122}