|
| 1 | +# - - - - - - - - - - - - - - - - - - - - - - - - - |
| 2 | +##@Version : 202511291150-git |
| 3 | +# @@Author : CasjaysDev |
| 4 | +# @@Contact : CasjaysDev <[email protected]> |
| 5 | +# @@License : MIT |
| 6 | +# @@Copyright : Copyright 2025 CasjaysDev |
| 7 | +# @@Created : Sat Nov 29 11:50:21 AM EST 2025 |
| 8 | +# @@File : .env.scripts |
| 9 | +# @@Description : Variables for gen-dockerfile and buildx scripts |
| 10 | +# @@Changelog : newScript |
| 11 | +# @@TODO : Refactor code |
| 12 | +# @@Other : N/A |
| 13 | +# @@Resource : N/A |
| 14 | +# @@Terminal App : yes |
| 15 | +# @@sudo/root : yes |
| 16 | +# @@Template : templates/dockerfiles/dotenv.template |
| 17 | +# - - - - - - - - - - - - - - - - - - - - - - - - - |
| 18 | +# shellcheck disable=SC1001,SC1003,SC2001,SC2003,SC2016,SC2031,SC2090,SC2115,SC2120,SC2155,SC2199,SC2229,SC2317,SC2329 |
| 19 | +# - - - - - - - - - - - - - - - - - - - - - - - - - |
| 20 | +# entrypoint Settings |
| 21 | +DOCKER_ENTYPOINT_PORTS_WEB="${DOCKER_ENTYPOINT_PORTS_WEB}" |
| 22 | +DOCKER_ENTYPOINT_PORTS_SRV="${DOCKER_ENTYPOINT_PORTS_SRV}" |
| 23 | +DOCKER_ENTYPOINT_HEALTH_APPS="$DOCKER_ENTYPOINT_HEALTH_APPS" |
| 24 | +DOCKER_ENTYPOINT_HEALTH_ENDPOINTS="$DOCKER_ENTYPOINT_HEALTH_ENDPOINTS" |
| 25 | +# - - - - - - - - - - - - - - - - - - - - - - - - - |
| 26 | +# Dockerfile info |
| 27 | +ENV_DOCKERFILE="Dockerfile" |
| 28 | +ENV_IMAGE_NAME="alpine" |
| 29 | +ENV_USE_TEMPLATE="alpine" |
| 30 | +# - - - - - - - - - - - - - - - - - - - - - - - - - |
| 31 | +# Maintainer info |
| 32 | +ENV_ORG_NAME="casjaysdev" |
| 33 | +ENV_VENDOR="CasjaysDev" |
| 34 | +ENV_AUTHOR="CasjaysDev" |
| 35 | +ENV_MAINTAINER= "CasjaysDev <[email protected]>" |
| 36 | +# - - - - - - - - - - - - - - - - - - - - - - - - - |
| 37 | +# Repository URLs (Full URLs) |
| 38 | +# ENV_GIT_REPO_URL: Complete Git repository URL for source code |
| 39 | +ENV_GIT_REPO_URL="https://github.com/casjaysdevdocker/alpine" |
| 40 | +# ENV_REGISTRY_URL: Complete registry URL for reference (NOT used for pushing) |
| 41 | +ENV_REGISTRY_URL="https://hub.docker.com/casjaysdevdocker/alpine" |
| 42 | +# - - - - - - - - - - - - - - - - - - - - - - - - - |
| 43 | +# Push Configuration |
| 44 | +# ENV_IMAGE_PUSH: Complete push destination (this IS used for pushing) |
| 45 | +ENV_IMAGE_PUSH="casjaysdev/alpine" |
| 46 | +# ENV_IMAGE_TAG: Default tag for the image |
| 47 | +ENV_IMAGE_TAG="3.23" |
| 48 | +# ENV_ADD_TAGS: Additional tags, comma-separated (USE_DATE = auto date tag) |
| 49 | +ENV_ADD_TAGS="USE_DATE" |
| 50 | +# - - - - - - - - - - - - - - - - - - - - - - - - - |
| 51 | +# Additional push destinations (if needed) |
| 52 | +ENV_ADD_IMAGE_PUSH="" |
| 53 | +# - - - - - - - - - - - - - - - - - - - - - - - - - |
| 54 | +# Pull Configuration |
| 55 | +# ENV_PULL_URL: Source image to pull from (base image) |
| 56 | +ENV_PULL_URL="alpine" |
| 57 | +# ENV_DISTRO_TAG: Tag for the pull source image |
| 58 | +ENV_DISTRO_TAG="${IMAGE_VERSION}" |
| 59 | +# - - - - - - - - - - - - - - - - - - - - - - - - - |
| 60 | +# Env |
| 61 | +SERVICE_PORT="" |
| 62 | +EXPOSE_PORTS="" |
| 63 | +# - - - - - - - - - - - - - - - - - - - - - - - - - |
| 64 | +# IF using a lanuage such as go, php, rust, ruby, etc set the version here. |
| 65 | +LANG_VERSION="" |
| 66 | +# - - - - - - - - - - - - - - - - - - - - - - - - - |
| 67 | +# Versions |
| 68 | +PHP_VERSION="system" |
| 69 | +NODE_VERSION="system" |
| 70 | +NODE_MANAGER="system" |
| 71 | +# - - - - - - - - - - - - - - - - - - - - - - - - - |
| 72 | +# Default directories |
| 73 | +WWW_ROOT_DIR="/usr/local/share/httpd/default" |
| 74 | +DEFAULT_FILE_DIR="/usr/local/share/template-files" |
| 75 | +DEFAULT_DATA_DIR="/usr/local/share/template-files/data" |
| 76 | +DEFAULT_CONF_DIR="/usr/local/share/template-files/config" |
| 77 | +DEFAULT_TEMPLATE_DIR="/usr/local/share/template-files/defaults" |
| 78 | +# - - - - - - - - - - - - - - - - - - - - - - - - - |
| 79 | +ENV_PACKAGES="bash-completion git curl wget sudo unzip iproute2 ssmtp openssl jq tzdata mailcap ncurses util-linux pciutils usbutils coreutils binutils findutils grep rsync zip tini py3-pip procps net-tools coreutils sed gawk grep attr findutils readline lsof less curl shadow certbot ca-certificates " |
| 80 | +# - - - - - - - - - - - - - - - - - - - - - - - - - |
| 81 | +# ex: ts=2 sw=2 et filetype=sh |
| 82 | +# - - - - - - - - - - - - - - - - - - - - - - - - - |
0 commit comments