mirror of
https://github.com/dockersrc/go
synced 2026-06-24 14:01:08 -04:00
b646f7a726
Sync project with updated upstream template files while preserving all
Go-specific customizations (EXEC_CMD_BIN='', DATA_DIR='', Go env vars,
/data/go symlink, Go-named dirs, etc.).
- .env.scripts: bump version stamp to 202605292219-git
- .gitattributes: update date stamp from template
- .gitea/workflows/docker.yaml: replace bare echo with printf %q for
GITHUB_OUTPUT assignments; use local var assignments for docker org/tag
- .gitignore: expand with editor configs (VSCode/JetBrains/Vim), AI tool
configs (Claude/.cursor/Copilot), env/secrets, build artifacts,
dependency dirs, logs, test/coverage dirs from updated template
- Dockerfile: bump BUILD_DATE to 202605292219; fix PHP_FPM detection from
ls subshell to set -- glob pattern; fix systemd cleanup to use for loop
instead of rm -f $(ls | grep -v ...)
- rootfs/root/docker/setup/00-init.sh through 07-cleanup.sh: update
version/date stamps to 202605292220-git template versions
- rootfs/usr/local/bin/entrypoint.sh: update stamp; fix echo quoting to
use double quotes for CONTAINER_NAME expansion
- rootfs/usr/local/etc/docker/init.d/00-go.sh: apply template improvements:
split SIGPWR trap onto separate line with 2>/dev/null || true; expand
debugger setup to multi-line if/else; use $(<file) instead of cat for
old_pid; apply _script_hash invalidation (W14) before START_SCRIPT
generation; replace heredoc/eval approach with printf %q for safe
quoting; launch START_SCRIPT with bash not eval sh -c (W15); add null
guard on chown in __run_secure_function; use _resolved temp var pattern
for type -P resolution (remove SERVICE_PID_NUMBER); explicit
[ "$1" = "check" ] guard on __check_service; errorCode=${PIPESTATUS[0]};
fix command -v pre check; add grep -- separator; fix ps|awk|grep chain
to pure awk; remove duplicate mkdir block
- rootfs/usr/local/share/template-files/config/env/default.sample:
ENTRYPOINT_PID_FILE path /run/.entrypoint.pid → /run/init.d/entrypoint.pid
- rootfs/usr/local/share/template-files/config/env/examples/zz-entrypoint.sh:
same ENTRYPOINT_PID_FILE path fix
Dockerfile
.env.scripts
.gitattributes
.gitea/workflows/docker.yaml
.gitignore
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
rootfs/usr/local/etc/docker/init.d/00-go.sh
rootfs/usr/local/share/template-files/config/env/default.sample
rootfs/usr/local/share/template-files/config/env/examples/zz-entrypoint.sh
87 lines
2.0 KiB
Plaintext
87 lines
2.0 KiB
Plaintext
# Template generated on Sun May 17 10:58:44 PM EDT 2026 from https://github.com/alexkaratarakis/gitattributes"
|
|
# Common settings that generally should always be used with your language specific settings
|
|
# Auto detect text files and perform LF normalization
|
|
* text=auto
|
|
# The above will handle all files NOT found below
|
|
# Documents
|
|
*.bibtex text diff=bibtex
|
|
*.doc diff=astextplain
|
|
*.DOC diff=astextplain
|
|
*.docx diff=astextplain
|
|
*.DOCX diff=astextplain
|
|
*.dot diff=astextplain
|
|
*.DOT diff=astextplain
|
|
*.pdf diff=astextplain
|
|
*.PDF diff=astextplain
|
|
*.rtf diff=astextplain
|
|
*.RTF diff=astextplain
|
|
*.md text diff=markdown
|
|
*.mdx text diff=markdown
|
|
*.tex text diff=tex
|
|
*.adoc text
|
|
*.textile text
|
|
*.mustache text
|
|
*.csv text eol=crlf
|
|
*.tab text
|
|
*.tsv text
|
|
*.txt text
|
|
*.sql text
|
|
*.epub diff=astextplain
|
|
# Graphics
|
|
*.png binary
|
|
*.jpg binary
|
|
*.jpeg binary
|
|
*.gif binary
|
|
*.tif binary
|
|
*.tiff binary
|
|
*.ico binary
|
|
# SVG treated as text by default.
|
|
*.svg text
|
|
# If you want to treat it as binary,
|
|
# use the following line instead.
|
|
# *.svg binary
|
|
*.eps binary
|
|
# Scripts
|
|
*.bash text eol=lf
|
|
*.fish text eol=lf
|
|
*.ksh text eol=lf
|
|
*.sh text eol=lf
|
|
*.zsh text eol=lf
|
|
# These are explicitly windows files and should use crlf
|
|
*.bat text eol=crlf
|
|
*.cmd text eol=crlf
|
|
*.ps1 text eol=crlf
|
|
# Serialisation
|
|
*.json text
|
|
*.toml text
|
|
*.xml text
|
|
*.yaml text
|
|
*.yml text
|
|
# Archives
|
|
*.7z binary
|
|
*.bz binary
|
|
*.bz2 binary
|
|
*.bzip2 binary
|
|
*.gz binary
|
|
*.lz binary
|
|
*.lzma binary
|
|
*.rar binary
|
|
*.tar binary
|
|
*.taz binary
|
|
*.tbz binary
|
|
*.tbz2 binary
|
|
*.tgz binary
|
|
*.tlz binary
|
|
*.txz binary
|
|
*.xz binary
|
|
*.Z binary
|
|
*.zip binary
|
|
*.zst binary
|
|
# Text files where line endings should be preserved
|
|
*.patch -text
|
|
# Exclude files from exporting
|
|
.gitattributes export-ignore
|
|
.gitignore export-ignore
|
|
.gitkeep export-ignore
|
|
|