#!/usr/bin/env bash # Set type of distribution distro_type="$(cat /etc/*-release | grep -w "ID" | awk -F'=' '{ print $2 }' | tr -d '"')" # Path to folder with cloned offline-installer build directory with docker_entrypoint script volume_offline_directory="$(readlink -f $(dirname ${0}))" # Path for directory where repository will be created volume_repo_directory="$(pwd)" # Path inside container with cloned offline-installer build directory container_offline_volume="/mnt/offline/" # Path inside container where will be created repository container_repo_volume="/mnt/repo/" # Path inside container where will be stored additional packages lists container_list_volume="/mnt/additional-lists/" # Show help for using this script help () { cat <