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