<commit_before># For details and docs - see https://github.com/phusion/baseimage-docker#getting_started
FROM phusion/baseimage:0.9.16

# Use baseimage-docker's init system.
CMD ["/sbin/my_init"]

# Install Calico APT repo.  Note, we delay the apt-get update until 
# below so that the update is done in the same FS layer as the 
# install, making it unlikely to be out of sync.
RUN curl -L http://binaries.projectcalico.org/repo/key | apt-key add - && \
    echo "deb http://binaries.projectcalico.org/repo ./" >> /etc/apt/sources.list && \
    echo "Package: *" >> /etc/apt/preferences &&\
    echo "Pin: origin binaries.projectcalico.org" >> /etc/apt/preferences && \
    echo "Pin-Priority: 1001" >> /etc/apt/preferences

# Install dependencies shared with the master node.  If we can keep this
# in sync then we'll share an FS layer with the master to speed downloads.
RUN apt-get update && \
    apt-get install -qy \
        calico-felix \
        calico-acl-manager \
        ipset \
        iptables \
        libffi-dev \
        libssl-dev \
        libyaml-dev \
        python-dev \
        python-docopt \
        python-pip \
        python-pyasn1 \
        python-zmq && \
    apt-get clean && \
    rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

# Confd
RUN curl -L https://github.com/kelseyhightower/confd/releases/download/v0.7.1/confd-0.7.1-linux-amd64 -o confd && \
    chmod +x confd

# Node-specific apt-get.
RUN apt-get update && \
    apt-get install -qy \
        bird \
        build-essential 
    apt-get clean && \
    rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

# Powerstrip
RUN curl -L https://github.com/ClusterHQ/powerstrip/archive/v0.0.1.tar.gz \
            -o powerstrip.tar.gz && \
    tar -xzf powerstrip.tar.gz && \
    rm powerstrip.tar.gz && \
    mv powerstrip-0.0.1 powerstrip && \
    cd powerstrip && \
    sed -i s/2375/2377/ powerstrip.tac && \
    python setup.py install

# Copy in our custom configuration files etc.
COPY root_overlay /

# Install Powerstrip Calico Adapter dependencies.
RUN pip install -r /adapter/requirements.txt<commit_msg>Fix formatting error in node Dockerfile.<commit_after># For details and docs - see https://github.com/phusion/baseimage-docker#getting_started
FROM phusion/baseimage:0.9.16

# Use baseimage-docker's init system.
CMD ["/sbin/my_init"]

# Install Calico APT repo.  Note, we delay the apt-get update until 
# below so that the update is done in the same FS layer as the 
# install, making it unlikely to be out of sync.
RUN curl -L http://binaries.projectcalico.org/repo/key | apt-key add - && \
    echo "deb http://binaries.projectcalico.org/repo ./" >> /etc/apt/sources.list && \
    echo "Package: *" >> /etc/apt/preferences &&\
    echo "Pin: origin binaries.projectcalico.org" >> /etc/apt/preferences && \
    echo "Pin-Priority: 1001" >> /etc/apt/preferences

# Install dependencies shared with the master node.  If we can keep this
# in sync then we'll share an FS layer with the master to speed downloads.
RUN apt-get update && \
    apt-get install -qy \
        calico-felix \
        calico-acl-manager \
        ipset \
        iptables \
        libffi-dev \
        libssl-dev \
        libyaml-dev \
        python-dev \
        python-docopt \
        python-pip \
        python-pyasn1 \
        python-zmq && \
    apt-get clean && \
    rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

# Confd
RUN curl -L https://github.com/kelseyhightower/confd/releases/download/v0.7.1/confd-0.7.1-linux-amd64 -o confd && \
    chmod +x confd

# Node-specific apt-get.
RUN apt-get update && \
    apt-get install -qy \
        bird \
        build-essential && \
    apt-get clean && \
    rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

# Powerstrip
RUN curl -L https://github.com/ClusterHQ/powerstrip/archive/v0.0.1.tar.gz \
            -o powerstrip.tar.gz && \
    tar -xzf powerstrip.tar.gz && \
    rm powerstrip.tar.gz && \
    mv powerstrip-0.0.1 powerstrip && \
    cd powerstrip && \
    sed -i s/2375/2377/ powerstrip.tac && \
    python setup.py install

# Copy in our custom configuration files etc.
COPY root_overlay /

# Install Powerstrip Calico Adapter dependencies.
RUN pip install -r /adapter/requirements.txt
{'fraction_non_alphanumeric': 0.12923076923076923, 'fraction_numerical': 0.014674556213017751, 'mean_word_length': 2.2582883577486506, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 19, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4961705', 'n_tokens_mistral': 1472, 'n_tokens_neox': 1406, 'n_words': 388}