<commit_before>FROM debian
LABEL maintainer <EMAIL>

WORKDIR /v4l2rtspserver
COPY . /v4l2rtspserver

RUN apt-get update && apt-get install -y --no-install-recommends g++ autoconf automake libtool xz-utils cmake make liblog4cpp5-dev pkg-config git wget

RUN cmake . && make \
	&& apt-get clean

EXPOSE 8554

ENTRYPOINT [ "./v4l2rtspserver" ]
CMD [ "-S -P ${PORT}" ]<commit_msg>reduce docker size for x86<commit_after>FROM debian
LABEL maintainer <EMAIL>

WORKDIR /v4l2rtspserver
COPY . /v4l2rtspserver

RUN apt-get update && apt-get install -y --no-install-recommends g++ autoconf automake libtool xz-utils cmake make liblog4cpp5-dev pkg-config git wget

RUN cmake . && make install && apt-get clean && rm -rf /var/lib/apt/lists/

FROM ubuntu:18.04

WORKDIR /usr/local/share/v4l2rtspserver
COPY --from=builder /usr/local/bin/ /usr/local/bin/

EXPOSE 8554

ENTRYPOINT [ "/usr/local/bin/v4l2rtspserver" ]
CMD [ "-S -P ${PORT}" ]
{'fraction_non_alphanumeric': 0.12324324324324325, 'fraction_numerical': 0.034594594594594595, 'mean_word_length': 3.873684210526316, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '1237354', 'n_tokens_mistral': 368, 'n_tokens_neox': 357, 'n_words': 96}