<commit_before>#!/usr/bin/env bash
# **************************************************
# Debian build script for docker

# What does this script do?
#   1. Build the docker image.
#   2. Create a docker build tag.
#   3. Run docker-entrypoint.sh script in the docker image.
#   4. Display the newly built installer in the $APP_DIR.

APP_DIR="/app"

STEP=0
STEPS=3

((STEP++))
echo "$STEP/$STEPS. Now building the docker image..."<commit_msg>Check if docker is installed<commit_after>#!/usr/bin/env bash
# **************************************************
# Debian build script for docker

# What does this script do?
#   1. Check if docker is installed.
#   1. Build the docker image.
#   2. Create a docker build tag.
#   3. Run docker-entrypoint.sh script in the docker image.
#   4. Display the newly built installer in the $APP_DIR.

APP_DIR="/app"

STEP=0
STEPS=3

DOCKER_EXEC="docker"
if ! command -v $DOCKER_EXEC >/dev/null 2>&1; then
    echo ".. Abort! '$DOCKER_EXEC' is not installed."
    exit 1
fi

((STEP++))
echo "$STEP/$STEPS. Now building the docker image..."
{'fraction_non_alphanumeric': 0.2042711234911792, 'fraction_numerical': 0.014856081708449397, 'mean_word_length': 3.7280701754385963, 'pattern_counts': {'":': 0, '<': 3, '<?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': '6018902', 'n_tokens_mistral': 374, 'n_tokens_neox': 342, 'n_words': 128}