mirror of
https://github.com/dockersrc/ubuntu
synced 2026-06-30 11:45:55 -04:00
bacfd7daa85c82df1a00b5491cf0814f39751452
18.04 and 20.04 were pointing to old-releases.ubuntu.com for bionic/focal, which returns 404s (those releases have been removed from old-releases). 24.10 arm64 was using old-releases.ports.ubuntu.com which doesn't exist — old-releases.ubuntu.com serves all architectures. 26.04 was trying to pull casjaysdev/ubuntu:26.04 as its base, causing a chicken-and-egg failure since that image hasn't been built yet. - Dockerfile.18.04: switch amd64 mirror to archive.ubuntu.com/security.ubuntu.com, arm64 to ports.ubuntu.com/ubuntu-ports - Dockerfile.20.04: same mirror fix as 18.04 for focal - Dockerfile.24.10: unify arm64 old-releases to old-releases.ubuntu.com/ubuntu (no ports variant exists) - Dockerfile.26.04: change PULL_URL from casjaysdev/ubuntu to ubuntu to bootstrap from official base image Dockerfile.18.04 Dockerfile.20.04 Dockerfile.24.10 Dockerfile.26.04
👋 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%