mirror of
https://github.com/dockersrc/ubuntu
synced 2026-06-30 11:45:55 -04:00
88d6d1191e62996f6291907cc081aabfbd9e4219
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 ubuntu 🚀
ubuntu 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 ubuntu
Install and run container
mkdir -p "/var/lib/srv/root/docker/casjaysdev/ubuntu/latest"
git clone "https://github.com/dockermgr/ubuntu" "$HOME/.local/share/CasjaysDev/dockermgr/ubuntu"
cp -Rfva "$HOME/.local/share/CasjaysDev/dockermgr/ubuntu/rootfs/." "/var/lib/srv/root/docker/casjaysdev/ubuntu/latest/"
docker run -d \
--restart always \
--privileged \
--name casjaysdev-ubuntu-latest \
--hostname ubuntu \
-e TZ=${TIMEZONE:-America/New_York} \
-v "/var/lib/srv/root/docker/casjaysdev/ubuntu/latest/data:/data:z" \
-v "/var/lib/srv/root/docker/casjaysdev/ubuntu/latest/config:/config:z" \
casjaysdev/ubuntu:latest
via docker-compose
version: "2"
services:
ProjectName:
image: casjaysdev/ubuntu
container_name: casjaysdev-ubuntu-latest
environment:
- TZ=America/New_York
- HOSTNAME=ubuntu
volumes:
- "/var/lib/srv/root/docker/casjaysdev/ubuntu/latest/data:/data:z"
- "/var/lib/srv/root/docker/casjaysdev/ubuntu/latest/config:/config:z"
restart: always
Get source files
dockermgr download src os ubuntu
Build container
git clone "https://github.com/dockersrc/ubuntu" "$HOME/Projects/github/dockersrc/ubuntu"
cd "$HOME/Projects/github/dockersrc/ubuntu" && buildx all
Authors
Description
Languages
Shell
95.5%
Dockerfile
4.5%