<commit_before>############################################################
# Dockerfile to build Lambda Space MQTT broker
# Based on Debian
############################################################

# Set the base image to Debian
FROM debian:jessie

# File Author / Maintainer
MAINTAINER aldor

################## BEGIN INSTALLATION ######################
RUN apt-get update && apt-get install -y wget
RUN wget http://repo.mosquitto.org/debian/mosquitto-repo.gpg.key
RUN apt-key add mosquitto-repo.gpg.key
RUN wget -O /etc/apt/sources.list.d/mosquitto-jessie.list http://repo.mosquitto.org/debian/mosquitto-jessie.list

RUN apt-get update && \
    apt-get dist-upgrade -y && \
    apt-get install -y ca-certificates mosquitto

# Mosquito configuration
COPY credentials/mqtt /var/local/mosquitto

################## INSTALLATION END ######################

EXPOSE 8883
CMD mosquitto -d -c /var/local/mosquitto/mosquitto.conf && /bin/bash<commit_msg>Don't run mosquitto as deamon<commit_after>############################################################
# Dockerfile to build Lambda Space MQTT broker
# Based on Debian
############################################################

# Set the base image to Debian
FROM debian:jessie

# File Author / Maintainer
MAINTAINER aldor

################## BEGIN INSTALLATION ######################
RUN apt-get update && apt-get install -y wget
RUN wget http://repo.mosquitto.org/debian/mosquitto-repo.gpg.key
RUN apt-key add mosquitto-repo.gpg.key
RUN wget -O /etc/apt/sources.list.d/mosquitto-jessie.list http://repo.mosquitto.org/debian/mosquitto-jessie.list

RUN apt-get update && \
    apt-get dist-upgrade -y && \
    apt-get install -y ca-certificates mosquitto

# Mosquito configuration
COPY credentials/mqtt /var/local/mosquitto

################## INSTALLATION END ######################

EXPOSE 8883
CMD mosquitto -c /var/local/mosquitto/mosquitto.conf
{'fraction_non_alphanumeric': 0.2867647058823529, 'fraction_numerical': 0.004201680672268907, 'mean_word_length': 5.0476190476190474, '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': '6909913', 'n_tokens_mistral': 629, 'n_tokens_neox': 575, 'n_words': 143}