mirror of
https://github.com/dockersrc/ubuntu
synced 2026-07-23 03:57:08 -04:00
da5a8d0572
Build and Push 18.04 / build (push) Has been cancelled
Build and Push 20.04 / build (push) Has been cancelled
Build and Push 22.04 / build (push) Has been cancelled
Build and Push 24.04 / build (push) Has been cancelled
Build and Push 24.10 / build (push) Has been cancelled
Build and Push 26.04 / build (push) Has been cancelled
Build and Push / build (push) Has been cancelled
Update volume mount examples from /var/lib/srv/$USER/docker to /srv/$USER/docker. - README.md ubuntu/.dockerignore ubuntu/.gitattributes ubuntu/.gitea/workflows/build.yml ubuntu/.gitignore ubuntu/LICENSE.md ubuntu/rootfs/root/docker/setup/00-init.sh ubuntu/rootfs/root/docker/setup/01-system.sh ubuntu/rootfs/root/docker/setup/02-packages.sh ubuntu/rootfs/root/docker/setup/03-files.sh ubuntu/rootfs/root/docker/setup/04-users.sh ubuntu/rootfs/root/docker/setup/05-custom.sh ubuntu/rootfs/root/docker/setup/06-post.sh ubuntu/rootfs/root/docker/setup/07-cleanup.sh ubuntu/rootfs/usr/local/bin/copy ubuntu/rootfs/usr/local/bin/entrypoint.sh ubuntu/rootfs/usr/local/bin/healthcheck ubuntu/rootfs/usr/local/bin/pkmgr ubuntu/rootfs/usr/local/bin/symlink ubuntu/rootfs/usr/local/etc/docker/functions/entrypoint.sh : update path references to /srv/$USER/docker README.md ubuntu/.dockerignore ubuntu/.gitattributes ubuntu/.gitea/workflows/build.yml ubuntu/.gitignore ubuntu/LICENSE.md ubuntu/rootfs/root/docker/setup/00-init.sh ubuntu/rootfs/root/docker/setup/01-system.sh ubuntu/rootfs/root/docker/setup/02-packages.sh ubuntu/rootfs/root/docker/setup/03-files.sh ubuntu/rootfs/root/docker/setup/04-users.sh ubuntu/rootfs/root/docker/setup/05-custom.sh ubuntu/rootfs/root/docker/setup/06-post.sh ubuntu/rootfs/root/docker/setup/07-cleanup.sh ubuntu/rootfs/usr/local/bin/copy ubuntu/rootfs/usr/local/bin/entrypoint.sh ubuntu/rootfs/usr/local/bin/healthcheck ubuntu/rootfs/usr/local/bin/pkmgr ubuntu/rootfs/usr/local/bin/symlink ubuntu/rootfs/usr/local/etc/docker/functions/entrypoint.sh
70 lines
1.7 KiB
Markdown
70 lines
1.7 KiB
Markdown
## 👋 Welcome to ubuntu 🚀
|
|
|
|
ubuntu README
|
|
|
|
|
|
## Install my system scripts
|
|
|
|
```shell
|
|
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
|
|
|
|
```shell
|
|
dockermgr update os ubuntu
|
|
```
|
|
|
|
## Install and run container
|
|
|
|
```shell
|
|
mkdir -p "/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/." "/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 "/srv/root/docker/casjaysdev/ubuntu/latest/data:/data:z" \
|
|
-v "/srv/root/docker/casjaysdev/ubuntu/latest/config:/config:z" \
|
|
casjaysdev/ubuntu:latest
|
|
```
|
|
|
|
## via docker-compose
|
|
|
|
```yaml
|
|
version: "2"
|
|
services:
|
|
ProjectName:
|
|
image: casjaysdev/ubuntu
|
|
container_name: casjaysdev-ubuntu-latest
|
|
environment:
|
|
- TZ=America/New_York
|
|
- HOSTNAME=ubuntu
|
|
volumes:
|
|
- "/srv/root/docker/casjaysdev/ubuntu/latest/data:/data:z"
|
|
- "/srv/root/docker/casjaysdev/ubuntu/latest/config:/config:z"
|
|
restart: always
|
|
```
|
|
|
|
## Get source files
|
|
|
|
```shell
|
|
dockermgr download src os ubuntu
|
|
```
|
|
|
|
## Build container
|
|
|
|
```shell
|
|
git clone "https://github.com/dockersrc/ubuntu" "$HOME/Projects/github/dockersrc/ubuntu"
|
|
cd "$HOME/Projects/github/dockersrc/ubuntu" && buildx all
|
|
```
|
|
|
|
## Authors
|
|
|
|
🤖 casjay: [Github](https://github.com/casjay) 🤖
|
|
⛵ casjaysdev: [Github](https://github.com/dockersrc) [Docker](https://hub.docker.com/u/casjaysdev) ⛵
|