mirror of
https://github.com/dockersrc/archlinux
synced 2026-06-24 20:01:00 -04:00
31d05220d5
- Removed legacy entrypoint.sh from rootfs/usr/local/bin and functions directory - Added new healthcheck script to rootfs/usr/local/bin - Updated copy and symlink helper scripts in rootfs/usr/local/bin - Refreshed environment templates and example configs for services - Updated Dockerfile and .env.scripts to align with new layout Dockerfile .env.scripts rootfs/usr/local/bin/copy rootfs/usr/local/bin/entrypoint.sh rootfs/usr/local/bin/healthcheck rootfs/usr/local/bin/symlink rootfs/usr/local/etc/docker/functions/entrypoint.sh rootfs/usr/local/share/template-files/config/env/default.sample rootfs/usr/local/share/template-files/config/env/examples/addresses.sh rootfs/usr/local/share/template-files/config/env/examples/healthcheck.sh rootfs/usr/local/share/template-files/config/env/examples/mariadb.sh rootfs/usr/local/share/template-files/config/env/examples/php.sh rootfs/usr/local/share/template-files/config/env/examples/postgres.sh rootfs/usr/local/share/template-files/config/env/examples/webservers.sh rootfs/usr/local/share/template-files/config/env/examples/zz-entrypoint.sh
84 lines
3.6 KiB
Bash
84 lines
3.6 KiB
Bash
# - - - - - - - - - - - - - - - - - - - - - - - - -
|
|
##@Version : 202605041316-git
|
|
# @@Author : CasjaysDev
|
|
# @@Contact : CasjaysDev <docker-admin@casjaysdev.pro>
|
|
# @@License : MIT
|
|
# @@Copyright : Copyright 2026 CasjaysDev
|
|
# @@Created : Mon May 4 01:16:12 PM EDT 2026
|
|
# @@File : .env.scripts
|
|
# @@Description : Variables for gen-dockerfile and buildx scripts
|
|
# @@Changelog : newScript
|
|
# @@TODO : Refactor code
|
|
# @@Other : N/A
|
|
# @@Resource : N/A
|
|
# @@Terminal App : yes
|
|
# @@sudo/root : yes
|
|
# @@Template : templates/dockerfiles/dotenv.template
|
|
# - - - - - - - - - - - - - - - - - - - - - - - - -
|
|
# shellcheck disable=SC1001,SC1003,SC2001,SC2003,SC2016,SC2031,SC2090,SC2115,SC2120,SC2155,SC2199,SC2229,SC2317,SC2329
|
|
# - - - - - - - - - - - - - - - - - - - - - - - - -
|
|
# entrypoint Settings
|
|
DOCKER_ENTYPOINT_PORTS_WEB="${DOCKER_ENTYPOINT_PORTS_WEB}"
|
|
DOCKER_ENTYPOINT_PORTS_SRV="${DOCKER_ENTYPOINT_PORTS_SRV}"
|
|
DOCKER_ENTYPOINT_HEALTH_APPS="$DOCKER_ENTYPOINT_HEALTH_APPS"
|
|
DOCKER_ENTYPOINT_HEALTH_ENDPOINTS="$DOCKER_ENTYPOINT_HEALTH_ENDPOINTS"
|
|
# - - - - - - - - - - - - - - - - - - - - - - - - -
|
|
# Dockerfile info
|
|
ENV_DOCKERFILE="Dockerfile"
|
|
# ENV_REGISTRY_REPO: Registry repository/image name
|
|
ENV_REGISTRY_REPO="archlinux"
|
|
ENV_USE_TEMPLATE="archlinux"
|
|
# - - - - - - - - - - - - - - - - - - - - - - - - -
|
|
# Maintainer info
|
|
ENV_REGISTRY_ORG="casjaysdev"
|
|
ENV_VENDOR="CasjaysDev"
|
|
ENV_AUTHOR="CasjaysDev"
|
|
ENV_MAINTAINER="CasjaysDev <docker-admin@casjaysdev.pro>"
|
|
# - - - - - - - - - - - - - - - - - - - - - - - - -
|
|
# Repository URLs (Full URLs)
|
|
# ENV_GIT_REPO_URL: Complete Git repository URL for source code
|
|
ENV_GIT_REPO_URL="https://github.com/casjaysdevdocker/archlinux"
|
|
# ENV_REGISTRY_URL: Registry provider base URL (for example https://docker.io)
|
|
ENV_REGISTRY_URL="https://docker.io"
|
|
# - - - - - - - - - - - - - - - - - - - - - - - - -
|
|
# Push Configuration
|
|
# ENV_REGISTRY_PUSH: Complete push destination derived from registry/org/repo
|
|
ENV_REGISTRY_PUSH="casjaysdev/archlinux"
|
|
# ENV_IMAGE_TAG: Default tag for the image
|
|
ENV_IMAGE_TAG="latest"
|
|
# ENV_ADD_TAGS: Additional tags, comma-separated (USE_DATE = auto date tag)
|
|
ENV_ADD_TAGS=""
|
|
# - - - - - - - - - - - - - - - - - - - - - - - - -
|
|
# Additional push destinations (if needed)
|
|
ENV_ADD_IMAGE_PUSH=""
|
|
# - - - - - - - - - - - - - - - - - - - - - - - - -
|
|
# Pull Configuration
|
|
# ENV_PULL_URL: Source image to pull from (base image)
|
|
ENV_PULL_URL="casjaysdev/archlinux"
|
|
# ENV_DISTRO_TAG: Tag for the pull source image
|
|
ENV_DISTRO_TAG="${IMAGE_VERSION}"
|
|
# - - - - - - - - - - - - - - - - - - - - - - - - -
|
|
# Env
|
|
SERVICE_PORT=""
|
|
EXPOSE_PORTS=""
|
|
# - - - - - - - - - - - - - - - - - - - - - - - - -
|
|
# IF using a lanuage such as go, php, rust, ruby, etc set the version here.
|
|
LANG_VERSION=""
|
|
# - - - - - - - - - - - - - - - - - - - - - - - - -
|
|
# Versions
|
|
PHP_VERSION="system"
|
|
NODE_VERSION="system"
|
|
NODE_MANAGER="system"
|
|
# - - - - - - - - - - - - - - - - - - - - - - - - -
|
|
# Default directories
|
|
WWW_ROOT_DIR="/usr/local/share/httpd/default"
|
|
DEFAULT_FILE_DIR="/usr/local/share/template-files"
|
|
DEFAULT_DATA_DIR="/usr/local/share/template-files/data"
|
|
DEFAULT_CONF_DIR="/usr/local/share/template-files/config"
|
|
DEFAULT_TEMPLATE_DIR="/usr/local/share/template-files/defaults"
|
|
# - - - - - - - - - - - - - - - - - - - - - - - - -
|
|
ENV_PACKAGES="systemd bash-completion git curl wget sudo unzip base-devel mailx postfix python python-pip certbot ca-certificates jq "
|
|
# - - - - - - - - - - - - - - - - - - - - - - - - -
|
|
# ex: ts=2 sw=2 et filetype=sh
|
|
# - - - - - - - - - - - - - - - - - - - - - - - - -
|