2024-08-10 17:36:18 -04:00
|
|
|
## 👋 Welcome to almalinux 🚀
|
|
|
|
|
|
|
|
almalinux 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
|
2024-10-12 16:20:48 -04:00
|
|
|
dockermgr update os almalinux
|
2024-08-10 17:36:18 -04:00
|
|
|
```
|
|
|
|
|
|
|
|
## Install and run container
|
|
|
|
|
|
|
|
```shell
|
2024-10-12 16:20:48 -04:00
|
|
|
mkdir -p "/var/lib/srv/root/docker/casjaysdev/almalinux/latest"
|
2024-08-10 17:36:18 -04:00
|
|
|
git clone "https://github.com/dockermgr/almalinux" "$HOME/.local/share/CasjaysDev/dockermgr/almalinux"
|
2024-10-12 16:20:48 -04:00
|
|
|
cp -Rfva "$HOME/.local/share/CasjaysDev/dockermgr/almalinux/rootfs/." "/var/lib/srv/root/docker/casjaysdev/almalinux/latest/"
|
2024-08-10 17:36:18 -04:00
|
|
|
docker run -d \
|
|
|
|
--restart always \
|
|
|
|
--privileged \
|
2024-10-12 16:20:48 -04:00
|
|
|
--name casjaysdev-almalinux-latest \
|
2024-08-10 17:36:18 -04:00
|
|
|
--hostname almalinux \
|
|
|
|
-e TZ=${TIMEZONE:-America/New_York} \
|
2024-10-12 16:20:48 -04:00
|
|
|
-v "/var/lib/srv/root/docker/casjaysdev/almalinux/latest/data:/data:z" \
|
|
|
|
-v "/var/lib/srv/root/docker/casjaysdev/almalinux/latest/config:/config:z" \
|
|
|
|
casjaysdev/almalinux:latest
|
2024-08-10 17:36:18 -04:00
|
|
|
```
|
|
|
|
|
|
|
|
## via docker-compose
|
|
|
|
|
|
|
|
```yaml
|
|
|
|
version: "2"
|
|
|
|
services:
|
|
|
|
ProjectName:
|
2024-10-12 16:20:48 -04:00
|
|
|
image: casjaysdev/almalinux
|
|
|
|
container_name: casjaysdev-almalinux-latest
|
2024-08-10 17:36:18 -04:00
|
|
|
environment:
|
|
|
|
- TZ=America/New_York
|
|
|
|
- HOSTNAME=almalinux
|
|
|
|
volumes:
|
2024-10-12 16:20:48 -04:00
|
|
|
- "/var/lib/srv/root/docker/casjaysdev/almalinux/latest/data:/data:z"
|
|
|
|
- "/var/lib/srv/root/docker/casjaysdev/almalinux/latest/config:/config:z"
|
2024-08-10 17:36:18 -04:00
|
|
|
restart: always
|
|
|
|
```
|
|
|
|
|
|
|
|
## Get source files
|
|
|
|
|
|
|
|
```shell
|
2024-10-12 16:20:48 -04:00
|
|
|
dockermgr download src os almalinux
|
2024-08-10 17:36:18 -04:00
|
|
|
```
|
|
|
|
|
|
|
|
## Build container
|
|
|
|
|
|
|
|
```shell
|
2024-10-12 16:20:48 -04:00
|
|
|
git clone "https://github.com/dockersrc/almalinux" "$HOME/Projects/github/dockersrc/almalinux"
|
|
|
|
cd "$HOME/Projects/github/dockersrc/almalinux" && buildx all
|
2024-08-10 17:36:18 -04:00
|
|
|
```
|
|
|
|
|
|
|
|
## Authors
|
|
|
|
|
|
|
|
🤖 casjay: [Github](https://github.com/casjay) 🤖
|
2024-10-12 16:22:20 -04:00
|
|
|
⛵ casjaysdev: [Github](https://github.com/dockersrc) [Docker](https://hub.docker.com/u/casjaysdev) ⛵
|