mirror of
https://github.com/dockersrc/go
synced 2026-07-14 17:45:54 -04:00
74685f6042
Build and Push / build (push) Has been cancelled
- .env.scripts: synced version stamp to current template - Dockerfile: fixed trailing space in PACK_LIST; restored image.source LABEL to GitHub URL after gen-dockerfile mis-set it to Docker Hub - rootfs/usr/local/bin/entrypoint.sh: regenerated from current template - rootfs/usr/local/etc/docker/functions/entrypoint.sh: replaced from current template - rootfs/root/docker/setup/00-init.sh through 07-cleanup.sh: regenerated from current template - rootfs/etc/profile.d/go.sh: migrated to rootfs/tmp/etc/profile.d/go.sh per current rootfs layout - .gitignore: added rootfs/tmp/ exception so migrated rootfs/tmp files stay tracked Dockerfile .env.scripts .gitignore rootfs/etc/profile.d/go.sh 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/tmp/ rootfs/usr/local/bin/entrypoint.sh rootfs/usr/local/etc/docker/functions/entrypoint.sh
81 lines
3.4 KiB
Bash
81 lines
3.4 KiB
Bash
# - - - - - - - - - - - - - - - - - - - - - - - - -
|
|
##@Version : 202607112108-git
|
|
# @@Author : CasjaysDev
|
|
# @@Contact : CasjaysDev <docker-admin@casjaysdev.pro>
|
|
# @@License : WTFPL
|
|
# @@Copyright : Copyright 2026 CasjaysDev
|
|
# @@Created : Sat Jul 11 09:08:33 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="go"
|
|
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/go"
|
|
# 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/go"
|
|
# 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="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="git make bash tini ca-certificates openssh-client curl wget tar tzdata jq build-base gcc musl-dev pkgconf openssl-dev libffi-dev zlib-dev linux-headers protobuf protobuf-dev"
|
|
# - - - - - - - - - - - - - - - - - - - - - - - - -
|
|
# ex: ts=2 sw=2 et filetype=sh
|
|
# - - - - - - - - - - - - - - - - - - - - - - - - -
|
|
|