mirror of
https://github.com/dockersrc/archlinux
synced 2026-06-24 20:01:00 -04:00
♻ Rename dockerfs to rootfs and add helper scripts ♻
- Renamed dockerfs directory tree to rootfs across all setup scripts, entrypoints, and template files - Updated Dockerfile and README.md to reflect the new rootfs path convention - Added new copy and symlink helper scripts under rootfs/usr/local/bin - Preserved file contents during rename (100% similarity) to keep history intact Dockerfile dockerfs/root/docker/setup/00-init.sh dockerfs/root/docker/setup/01-system.sh dockerfs/root/docker/setup/02-packages.sh dockerfs/root/docker/setup/03-files.sh dockerfs/root/docker/setup/04-users.sh dockerfs/root/docker/setup/05-custom.sh dockerfs/root/docker/setup/06-post.sh dockerfs/root/docker/setup/07-cleanup.sh dockerfs/usr/local/bin/entrypoint.sh dockerfs/usr/local/bin/pkmgr dockerfs/usr/local/etc/docker/functions/entrypoint.sh dockerfs/usr/local/share/template-files/config/env/default.sample dockerfs/usr/local/share/template-files/config/env/examples/00-directory.sh dockerfs/usr/local/share/template-files/config/env/examples/addresses.sh dockerfs/usr/local/share/template-files/config/env/examples/certbot.sh dockerfs/usr/local/share/template-files/config/env/examples/couchdb.sh dockerfs/usr/local/share/template-files/config/env/examples/dockerd.sh dockerfs/usr/local/share/template-files/config/env/examples/global.sh dockerfs/usr/local/share/template-files/config/env/examples/healthcheck.sh dockerfs/usr/local/share/template-files/config/env/examples/mariadb.sh dockerfs/usr/local/share/template-files/config/env/examples/mongodb.sh dockerfs/usr/local/share/template-files/config/env/examples/networking.sh dockerfs/usr/local/share/template-files/config/env/examples/other.sh dockerfs/usr/local/share/template-files/config/env/examples/php.sh dockerfs/usr/local/share/template-files/config/env/examples/postgres.sh dockerfs/usr/local/share/template-files/config/env/examples/redis.sh dockerfs/usr/local/share/template-files/config/env/examples/services.sh dockerfs/usr/local/share/template-files/config/env/examples/ssl.sh dockerfs/usr/local/share/template-files/config/env/examples/supabase.sh dockerfs/usr/local/share/template-files/config/env/examples/webservers.sh dockerfs/usr/local/share/template-files/config/env/examples/zz-entrypoint.sh dockerfs/usr/local/share/template-files/config/.gitkeep dockerfs/usr/local/share/template-files/data/.gitkeep dockerfs/usr/local/share/template-files/defaults/.gitkeep README.md rootfs/usr/local/bin/copy rootfs/usr/local/bin/symlink
This commit is contained in:
Executable
+42
@@ -0,0 +1,42 @@
|
||||
#!/usr/bin/env bash
|
||||
# shellcheck shell=bash
|
||||
# - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
##@Version : 202511291153-git
|
||||
# @@Author : CasjaysDev
|
||||
# @@Contact : CasjaysDev <docker-admin@casjaysdev.pro>
|
||||
# @@License : MIT
|
||||
# @@Copyright : Copyright 2025 CasjaysDev
|
||||
# @@Created : Sat Nov 29 11:53:06 AM EST 2025
|
||||
# @@File : 02-packages.sh
|
||||
# @@Description : script to run packages
|
||||
# @@Changelog : newScript
|
||||
# @@TODO : Refactor code
|
||||
# @@Other : N/A
|
||||
# @@Resource : N/A
|
||||
# @@Terminal App : yes
|
||||
# @@sudo/root : yes
|
||||
# @@Template : templates/dockerfiles/init_scripts/02-packages.sh
|
||||
# - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
# shellcheck disable=SC1001,SC1003,SC2001,SC2003,SC2016,SC2031,SC2090,SC2115,SC2120,SC2155,SC2199,SC2229,SC2317,SC2329
|
||||
# - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
# Set bash options
|
||||
set -o pipefail
|
||||
[ "$DEBUGGER" = "on" ] && echo "Enabling debugging" && set -x$DEBUGGER_OPTIONS
|
||||
# - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
# Set env variables
|
||||
exitCode=0
|
||||
|
||||
# - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
# Predefined actions
|
||||
|
||||
# - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
# Main script
|
||||
|
||||
# - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
# Set the exit code
|
||||
#exitCode=$?
|
||||
# - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
exit $exitCode
|
||||
# - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
# ex: ts=2 sw=2 et filetype=sh
|
||||
# - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
Reference in New Issue
Block a user