🔧 Update to latest docker template revision 🔧
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
This commit is contained in:
2026-07-12 01:04:38 -04:00
parent 6c9a4f091a
commit 74685f6042
14 changed files with 57 additions and 22 deletions
+32
View File
@@ -0,0 +1,32 @@
# Go environment - sourced by /etc/profile for interactive login shells.
#
# All Go state lives under /usr/local/share/go (declared as a Docker
# VOLUME). The paths /go, /root/go, /root/.go, /root/.local/share/go and
# /data/go are symlinks to that location, so any of them can be used
# interchangeably and the data persists across container rebuilds when
# the volume is named.
#
# The Go distribution itself lives at /usr/local/go (baked into the image,
# not volumed). Tools installed at build time land in /usr/local/bin.
export GOPATH="${GOPATH:-/usr/local/share/go}"
export GOCACHE="${GOCACHE:-${GOPATH}/cache}"
export CGO_ENABLED="${CGO_ENABLED:-0}"
export GOTOOLCHAIN="${GOTOOLCHAIN:-auto}"
# Go distribution bin first, then baked tools, then GOPATH/bin last so a
# volume-mounted $GOPATH/bin never shadows baked image tools.
case ":${PATH}:" in
*":/usr/local/go/bin:"*) ;;
*) export PATH="/usr/local/go/bin:${PATH}" ;;
esac
case ":${PATH}:" in
*":/usr/local/bin:"*) ;;
*) export PATH="/usr/local/bin:${PATH}" ;;
esac
case ":${PATH}:" in
*":${GOPATH}/bin:"*) ;;
*) export PATH="${PATH}:${GOPATH}/bin" ;;
esac