mirror of
https://github.com/dockersrc/debian
synced 2026-06-30 11:45:54 -04:00
26fe8288676017cba073eed04885ab5e85429240
Update the embedded entrypoint copies in rootfs/ to match the upstream template change. Internal state files renamed to dotfiles so they're not matched by `/run/*.pid` cleanup globs: - /run/init.d/entrypoint.pid -> /run/.entrypoint.pid - /run/no_exit.pid -> /run/.no_exit.pid - /run/backup.pid -> /run/.backup.pid - /run/__start_init_scripts.pid -> /run/.start_init_scripts.pid Per-service PIDs in /run/init.d/ are unchanged. rootfs/usr/local/bin/copy rootfs/usr/local/bin/entrypoint.sh rootfs/usr/local/bin/healthcheck rootfs/usr/local/bin/symlink rootfs/usr/local/etc/docker/functions/entrypoint.sh rootfs/usr/local/share/template-files/config/env/default.sample rootfs/usr/local/share/template-files/config/env/examples/zz-entrypoint.sh
👋 Welcome to debian 🚀
debian README
Install my system scripts
sudo bash -c "$(curl -q -LSsf "https://github.com/systemmgr/installer/raw/main/install.sh")"
sudo systemmgr --config && sudo systemmgr install scripts
Automatic install/update
dockermgr update os debian
Install and run container
mkdir -p "/var/lib/srv/root/docker/casjaysdev/debian/latest"
git clone "https://github.com/dockermgr/debian" "$HOME/.local/share/CasjaysDev/dockermgr/debian"
cp -Rfva "$HOME/.local/share/CasjaysDev/dockermgr/debian/rootfs/." "/var/lib/srv/root/docker/casjaysdev/debian/latest/"
docker run -d \
--restart always \
--privileged \
--name casjaysdev-debian-latest \
--hostname debian \
-e TZ=${TIMEZONE:-America/New_York} \
-v "/var/lib/srv/root/docker/casjaysdev/debian/latest/data:/data:z" \
-v "/var/lib/srv/root/docker/casjaysdev/debian/latest/config:/config:z" \
casjaysdev/debian:latest
via docker-compose
version: "2"
services:
ProjectName:
image: casjaysdev/debian
container_name: casjaysdev-debian-latest
environment:
- TZ=America/New_York
- HOSTNAME=debian
volumes:
- "/var/lib/srv/root/docker/casjaysdev/debian/latest/data:/data:z"
- "/var/lib/srv/root/docker/casjaysdev/debian/latest/config:/config:z"
restart: always
Get source files
dockermgr download src os debian
Build container
git clone "https://github.com/dockersrc/debian" "$HOME/Projects/github/dockersrc/debian"
cd "$HOME/Projects/github/dockersrc/debian" && buildx all
Authors
Description
Languages
Shell
92%
Dockerfile
8%