mirror of
https://github.com/dockersrc/ubuntu
synced 2024-11-21 23:23:04 -05:00
8534cb320a
Dockerfile Dockerfile.19.04 Dockerfile.20.04 Dockerfile.21.04 Dockerfile.22.04 Dockerfile.23.04 Dockerfile.23.10 Dockerfile.24.04 Dockerfile.24.10 .env.scripts .env.scripts.19.04 .env.scripts.20.04 .env.scripts.21.04 .env.scripts.22.04 .env.scripts.23.04 .env.scripts.23.10 .env.scripts.24.04 .env.scripts.24.10 README.md
1.8 KiB
1.8 KiB
👋 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