<commit_before>#### Ontrack official image
#
#### Database configuration
#
# The default database connection is set to jdbc:postgresql://postgresql/ontrack, with ontrack as a user and ontrack
# as a password). Those default settings are defined in ontrack-ui/src/main/resources/config/application.yml
#
# In order to override those settings, place an `application.yml` file in the `/var/ontrack/conf` volume, with the
# following content (change the settings of course):
#
# spring:
#     datasource:
#        url: "jdbc:postgresql://postgresql/ontrack"
#        username: ontrack
#        password: <PASSWORD>

# Base
FROM azul/zulu-openjdk:11.0.6

# Meta-information
MAINTAINER <NAME> <<EMAIL>>

# Git installation
RUN apt-get install -y git

# Directory set-up
RUN mkdir -p /opt/ontrack

# Data volume
VOLUME /var/ontrack/data

# Configuration volume
VOLUME /var/ontrack/conf

# Directory which contains the extensions
VOLUME /var/ontrack/extensions

# Variable to host the directory files
# WARNING: This MIGHT be different than the volume, depending on how this image
# is used, with an external volume or in a child Dockerfile
ENV EXTENSIONS_DIR /var/ontrack/extensions

# Exposing the ports
EXPOSE 443
EXPOSE 8080

# Profile
ENV PROFILE prod

# Java options
ENV JAVA_OPTIONS ''

# Additional arguments to pass on the command lines
ENV ONTRACK_ARGS ''

# Copies the Ontrack JAR
COPY ontrack.jar /opt/ontrack/

# Starting script
ADD start.sh /opt/ontrack/start.sh

# Running the application
WORKDIR /opt/ontrack
ENTRYPOINT ["/opt/ontrack/start.sh"]

# Healthcheck
HEALTHCHECK --interval=1m --timeout=10s \
  CMD curl -f http://localhost:8080/info || exit 1
<commit_msg>#767 Correction of Docker image<commit_after>#### Ontrack official image
#
#### Database configuration
#
# The default database connection is set to jdbc:postgresql://postgresql/ontrack, with ontrack as a user and ontrack
# as a password). Those default settings are defined in ontrack-ui/src/main/resources/config/application.yml
#
# In order to override those settings, place an `application.yml` file in the `/var/ontrack/conf` volume, with the
# following content (change the settings of course):
#
# spring:
#     datasource:
#        url: "jdbc:postgresql://postgresql/ontrack"
#        username: ontrack
#        password: <PASSWORD>

# Base
FROM azul/zulu-openjdk:11.0.6

# Meta-information
MAINTAINER <NAME> <<EMAIL>>

# Git installation
RUN apt-get update && \
    apt-get install -y git && \
    rm -rf /var/lib/apt/lists/*

# Directory set-up
RUN mkdir -p /opt/ontrack

# Data volume
VOLUME /var/ontrack/data

# Configuration volume
VOLUME /var/ontrack/conf

# Directory which contains the extensions
VOLUME /var/ontrack/extensions

# Variable to host the directory files
# WARNING: This MIGHT be different than the volume, depending on how this image
# is used, with an external volume or in a child Dockerfile
ENV EXTENSIONS_DIR /var/ontrack/extensions

# Exposing the ports
EXPOSE 8080

# Profile
ENV PROFILE prod

# Java options
ENV JAVA_OPTIONS ''

# Additional arguments to pass on the command lines
ENV ONTRACK_ARGS ''

# Starting script
ADD start.sh /opt/ontrack/start.sh

# Running the application
WORKDIR /opt/ontrack
ENTRYPOINT ["/opt/ontrack/start.sh"]

# Healthcheck
HEALTHCHECK --interval=1m --timeout=10s \
  CMD curl -f http://localhost:8080/info || exit 1

# Copies the Ontrack JAR
COPY ontrack.jar /opt/ontrack/

{'fraction_non_alphanumeric': 0.09514051522248243, 'fraction_numerical': 0.011124121779859485, 'mean_word_length': 3.988321167883212, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, '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': '718663', 'n_tokens_mistral': 1109, 'n_tokens_neox': 1055, 'n_words': 375}