<commit_before>FROM ubuntu:14.04.5
MAINTAINER <NAME> <<EMAIL>>
LABEL Description="ESCAPE: Multi-domain Orchestrator" Project="UNIFY" version="2.0"
COPY . /home/escape/
COPY docker/.ssh/ /root/.ssh/
WORKDIR /home/escape
RUN apt-get update && apt-get install -y git wget &&\
    # Set locale to avoid annoying warnings
    locale-gen en_US.UTF-8 &&\
    export LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8
# Install MdO dependencies
RUN ./install-dep.sh -c
# REST-APIs:  Service Layer  |  Resource Orchestration Layer  |  Cf-Or
EXPOSE 8008 8888 8889
# Start ESCAPE by default
ENTRYPOINT ["./escape.py"]
# Default parameter is debug logging
CMD ["-d", "-c", "docker/default-docker.config"]<commit_msg>Improve Dockerfile to use build-args for lo/mdo build and use startup script<commit_after>FROM ubuntu:14.04.5
MAINTAINER <NAME> <<EMAIL>>
LABEL Description="ESCAPE: Multi-domain Orchestrator" Project="UNIFY" version="2.0"
# Default install parameter
ARG ESC_INSTALL_PARAMS=c
# Copy escape files (without submodules and binaries defined in .dockerignore)
COPY . /home/escape/
COPY docker/.ssh/ /root/.ssh/
# Default dir
WORKDIR /home/escape
# Install required packages, set locale , install ESCAPE's dependencies and cleanup
RUN apt-get update && apt-get install -y git wget && \
    # Set locale to avoid annoying warnings
    locale-gen en_US.UTF-8 && \
    export LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \
    ./install-dep.sh -${ESC_INSTALL_PARAMS} && \
    rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
# REST-APIs:  Service Layer  |  Resource Orchestration Layer  |  Cf-Or
EXPOSE 8008 8888 8889
# Set starting script which start required services and init a shell
ENTRYPOINT ["docker/startup.sh"]
## Start ESCAPE by default
#ENTRYPOINT ["./escape.py"]
## Default parameter is debug logging
#CMD ["-d", "-c", "docker/default-docker.config"]
{'fraction_non_alphanumeric': 0.1277292576419214, 'fraction_numerical': 0.024017467248908297, 'mean_word_length': 3.954054054054054, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '1583113', 'n_tokens_mistral': 663, 'n_tokens_neox': 598, 'n_words': 189}