<commit_before># BUILDING
# docker build -t crazifuzzy/opendct .

FROM ubuntu:16.04

MAINTAINER <NAME> <<EMAIL>>

ENV APP_NAME="OpenDCT Network Encoder"

ENV DEBIAN_FRONTEND=noninteractive

# add sagetv user and group
RUN useradd -u 911 -U -d /opt/opendct -s /bin/bash -G video sagetv

# Speed up APT
RUN echo "force-unsafe-io" > /etc/dpkg/dpkg.cfg.d/02apt-speedup \
  && echo "Acquire::http {No-Cache=True;};" > /etc/apt/apt.conf.d/no-cache

RUN set -x \
  && apt-get update \
  && apt-get install -y wget default-jre-headless

RUN apt-get install -y supervisor

VOLUME ["/etc/opendct"]
VOLUME ["/var/log/opendct"]

ADD install-opendct.sh /usr/bin/
ADD prep-opendct.sh /usr/bin/
RUN chmod 755 /usr/bin/install-opendct.sh
RUN chmod 755 /usr/bin/prep-opendct.sh

# Install opendct
RUN install-opendct.sh

COPY supervisord.conf /etc/supervisor/conf.d/supervisord.conf

# launch supervisord which will launch opendct
ENTRYPOINT ["/usr/bin/supervisord"]
<commit_msg>Added curl to container for parsing version number.<commit_after># BUILDING
# docker build -t crazifuzzy/opendct .

FROM ubuntu:16.04

MAINTAINER <NAME> <<EMAIL>>

ENV APP_NAME="OpenDCT Network Encoder"

ENV DEBIAN_FRONTEND=noninteractive

# add sagetv user and group
RUN useradd -u 911 -U -d /opt/opendct -s /bin/bash -G video sagetv

# Speed up APT
RUN echo "force-unsafe-io" > /etc/dpkg/dpkg.cfg.d/02apt-speedup \
  && echo "Acquire::http {No-Cache=True;};" > /etc/apt/apt.conf.d/no-cache

RUN set -x \
  && apt-get update \
  && apt-get install -y curl wget default-jre-headless

RUN apt-get install -y supervisor

VOLUME ["/etc/opendct"]
VOLUME ["/var/log/opendct"]

ADD install-opendct.sh /usr/bin/
ADD prep-opendct.sh /usr/bin/
RUN chmod 755 /usr/bin/install-opendct.sh
RUN chmod 755 /usr/bin/prep-opendct.sh

# Install opendct
RUN install-opendct.sh

COPY supervisord.conf /etc/supervisor/conf.d/supervisord.conf

# launch supervisord which will launch opendct
ENTRYPOINT ["/usr/bin/supervisord"]

{'fraction_non_alphanumeric': 0.13167259786476868, 'fraction_numerical': 0.015251652262328419, 'mean_word_length': 3.708133971291866, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 13, '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': '1134694', 'n_tokens_mistral': 822, 'n_tokens_neox': 778, 'n_words': 194}