<commit_before>FROM postgis/postgis:14-master
LABEL maintainer="<EMAIL>"

ENV BUILD_DIR=./build/resto-database \
    JUST_CONTAINERS_VERSION=1.22.1.0 \
    ARCH=amd64

# Add S6 supervisor (for graceful stop)
RUN apt-get update \
    && apt-get install -y curl tzdata \
    && curl -k -L -s https://github.com/just-containers/s6-overlay/releases/download/v${JUST_CONTAINERS_VERSION}/s6-overlay-${ARCH}.tar.gz | tar xvzf - -C / && \
    && tar -xzf s6-overlay-${ARCH}.tar.gz -C / \
    && rm -rf s6-overlay-amd64.tar.gz \
    && apt-get clean \
    && rm -rf /tmp/* /var/lib/apt/lists/* /var/tmp/*
ENTRYPOINT [ "/init" ]

# Copy run.d configuration
COPY ${BUILD_DIR}/container_root/cont-init.d /etc/cont-init.d

RUN mkdir -p /sql/addons

# Copy resto sql sources
COPY ${BUILD_DIR}/postgresql.conf /etc/postgresql.conf
COPY ${BUILD_DIR}/sql /sql
COPY ${BUILD_DIR}/installDB.sh /docker-entrypoint-initdb.d/10-installDB.sh<commit_msg>Correct Dockerfiome<commit_after>FROM postgis/postgis:14-master
LABEL maintainer="<EMAIL>"

ENV BUILD_DIR=./build/resto-database \
    JUST_CONTAINERS_VERSION=1.22.1.0 \
    ARCH=amd64

# Add S6 supervisor (for graceful stop)
RUN apt-get update \
    && apt-get install -y curl tzdata \
    && curl -k -L -s https://github.com/just-containers/s6-overlay/releases/download/v${JUST_CONTAINERS_VERSION}/s6-overlay-${ARCH}.tar.gz | tar xvzf - -C / \
    && rm -rf s6-overlay-amd64.tar.gz \
    && apt-get clean \
    && rm -rf /tmp/* /var/lib/apt/lists/* /var/tmp/*
ENTRYPOINT [ "/init" ]

# Copy run.d configuration
COPY ${BUILD_DIR}/container_root/cont-init.d /etc/cont-init.d

RUN mkdir -p /sql/addons

# Copy resto sql sources
COPY ${BUILD_DIR}/postgresql.conf /etc/postgresql.conf
COPY ${BUILD_DIR}/sql /sql
COPY ${BUILD_DIR}/installDB.sh /docker-entrypoint-initdb.d/10-installDB.sh
{'fraction_non_alphanumeric': 0.16280353200883002, 'fraction_numerical': 0.019315673289183224, 'mean_word_length': 3.235981308411215, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5501827', 'n_tokens_mistral': 730, 'n_tokens_neox': 688, 'n_words': 134}