Files
alpine/.env.scripts.testing
T
jason de4d00b504
Build and Push 3.14 / build (push) Has been cancelled
Build and Push 3.15 / build (push) Has been cancelled
Build and Push 3.16 / build (push) Has been cancelled
Build and Push 3.17 / build (push) Has been cancelled
Build and Push 3.18 / build (push) Has been cancelled
Build and Push 3.19 / build (push) Has been cancelled
Build and Push 3.20 / build (push) Has been cancelled
Build and Push 3.21 / build (push) Has been cancelled
Build and Push 3.22 / build (push) Has been cancelled
Build and Push 3.23 / build (push) Has been cancelled
Build and Push edge / build (push) Has been cancelled
Build and Push / build (push) Has been cancelled
🐛 Fix org URLs, dead template-file vars, and Dockerfile.3.14/.3.15 build bug 🐛
Ran the full AI.md sync runbook (gen-dockerfile --update, rootfs regeneration,
dead-variable audit) to bring generated files back in line with the template
and fix a build-breaking bug.
- .env.scripts, .env.scripts.3.14-3.23, .env.scripts.edge, .env.scripts.testing:
fixed ENV_GIT_REPO_URL from the wrong "casjaysdevdocker" org to the correct
"dockersrc" GitHub org; corrected License header from stale MIT to WTFPL
(matches LICENSE.md); removed deprecated DEFAULT_FILE_DIR/DEFAULT_DATA_DIR/
DEFAULT_CONF_DIR/DEFAULT_TEMPLATE_DIR vars; refreshed version/date stamps.
- Dockerfile.3.14-3.22, Dockerfile.edge: fixed LABEL org.opencontainers.image.url
and .source to point at docker.io/casjaysdev/alpine (was hub.docker.com,
registry org is casjaysdev per explicit instruction; GitHub org is dockersrc).
- Dockerfile.3.14: restored the three missing ARG DEFAULT_DATA_DIR/CONF_DIR/
TEMPLATE_DIR declarations (global + both build-stage re-declarations) that
had been dropped, leaving the "RUN mkdir -p ..." step referencing undefined
ARGs. With SHELL_OPTS="set -e -o pipefail" this caused `mkdir -p ""` to fail
the build outright. Verified fixed with a full `docker build` of this file.
- Dockerfile.3.15: same bug — was missing all three ARG DEFAULT_* blocks
(global declarations plus one of the two build-stage re-declarations).
Restored to match the structure of Dockerfile.3.16-3.22/edge exactly.
Verified fixed with a full `docker build` of this file.
- rootfs/root/docker/setup/00-init.sh through 07-cleanup.sh: regenerated from
the current template — license header fix, `set -o pipefail` -> `set -eo
pipefail`, and 00-init.sh/03-files.sh no longer reference the removed
template-files data/config/defaults directories.
- rootfs/usr/local/bin/entrypoint.sh: regenerated from the current template —
license/date stamp refresh, `return` -> `return 0`, `grep` calls hardened
with `--` before pattern arguments, and MTA setup no longer force-succeeds
with `|| true`.
Confirmed via `hadolint` (no new errors, only pre-existing DL3007 latest-tag
warnings shared across the whole Dockerfile fleet) and `sh -n`/`bash -n` on
every touched script (clean). No init.d scripts exist in this repo (Step 4 of
AI.md's runbook not applicable). rootfs directory layout already standard
(Step 7 not applicable — no non-standard top-level dirs found).

Dockerfile.3.14
Dockerfile.3.15
Dockerfile.3.16
Dockerfile.3.17
Dockerfile.3.18
Dockerfile.3.19
Dockerfile.3.20
Dockerfile.3.21
Dockerfile.3.22
Dockerfile.edge
.env.scripts
.env.scripts.3.14
.env.scripts.3.15
.env.scripts.3.16
.env.scripts.3.17
.env.scripts.3.18
.env.scripts.3.19
.env.scripts.3.20
.env.scripts.3.21
.env.scripts.3.22
.env.scripts.3.23
.env.scripts.edge
.env.scripts.testing
rootfs/root/docker/setup/00-init.sh
rootfs/root/docker/setup/01-system.sh
rootfs/root/docker/setup/02-packages.sh
rootfs/root/docker/setup/03-files.sh
rootfs/root/docker/setup/04-users.sh
rootfs/root/docker/setup/05-custom.sh
rootfs/root/docker/setup/06-post.sh
rootfs/root/docker/setup/07-cleanup.sh
rootfs/usr/local/bin/entrypoint.sh
2026-07-08 20:26:23 -04:00

81 lines
3.5 KiB
Bash

# - - - - - - - - - - - - - - - - - - - - - - - - -
##@Version : 202607081835-git
# @@Author : CasjaysDev
# @@Contact : CasjaysDev <docker-admin@casjaysdev.pro>
# @@License : WTFPL
# @@Copyright : Copyright 2026 CasjaysDev
# @@Created : Wed Jul 8 06:35:24 PM EDT 2026
# @@File : .env.scripts.testing
# @@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.testing"
# ENV_REGISTRY_REPO: Registry repository/image name
ENV_REGISTRY_REPO="alpine"
ENV_USE_TEMPLATE="alpine"
# - - - - - - - - - - - - - - - - - - - - - - - - -
# 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/dockersrc/alpine"
# 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/alpine"
# ENV_IMAGE_TAG: Default tag for the image
ENV_IMAGE_TAG="testing"
# 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="alpine"
# 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"
# - - - - - - - - - - - - - - - - - - - - - - - - -
ENV_PACKAGES="bash tini bash-completion git curl wget sudo unzip iproute2 openrc ssmtp openssl jq tzdata mailcap ncurses util-linux pciutils usbutils coreutils binutils findutils grep rsync zip py3-pip procps net-tools sed gawk attr readline lsof less shadow ca-certificates tor"
# - - - - - - - - - - - - - - - - - - - - - - - - -
# ex: ts=2 sw=2 et filetype=sh
# - - - - - - - - - - - - - - - - - - - - - - - - -