mirror of
https://github.com/dockersrc/debian
synced 2024-12-04 11:23:14 -05:00
1ef8195620
Some checks failed
release-tag / release-image (push) Failing after 1h17m17s
.env.scripts.10 .env.scripts.11 .env.scripts.12 .env.scripts.13 README.md
70 lines
1.8 KiB
Markdown
70 lines
1.8 KiB
Markdown
## 👋 Welcome to debian 🚀
|
|
|
|
debian 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 debian
|
|
```
|
|
|
|
## Install and run container
|
|
|
|
```shell
|
|
mkdir -p "/var/lib/srv/root/docker/casjaysdev/debian/latest"
|
|
git clone "https://github.com/dockermgr/debian" "$HOME/.local/share/CasjaysDev/dockermgr/debian"
|
|
cp -Rfva "$HOME/.local/share/CasjaysDev/dockermgr/debian/rootfs/." "/var/lib/srv/root/docker/casjaysdev/debian/latest/"
|
|
docker run -d \
|
|
--restart always \
|
|
--privileged \
|
|
--name casjaysdev-debian-latest \
|
|
--hostname debian \
|
|
-e TZ=${TIMEZONE:-America/New_York} \
|
|
-v "/var/lib/srv/root/docker/casjaysdev/debian/latest/data:/data:z" \
|
|
-v "/var/lib/srv/root/docker/casjaysdev/debian/latest/config:/config:z" \
|
|
casjaysdev/debian:latest
|
|
```
|
|
|
|
## via docker-compose
|
|
|
|
```yaml
|
|
version: "2"
|
|
services:
|
|
ProjectName:
|
|
image: casjaysdev/debian
|
|
container_name: casjaysdev-debian-latest
|
|
environment:
|
|
- TZ=America/New_York
|
|
- HOSTNAME=debian
|
|
volumes:
|
|
- "/var/lib/srv/root/docker/casjaysdev/debian/latest/data:/data:z"
|
|
- "/var/lib/srv/root/docker/casjaysdev/debian/latest/config:/config:z"
|
|
restart: always
|
|
```
|
|
|
|
## Get source files
|
|
|
|
```shell
|
|
dockermgr download src os debian
|
|
```
|
|
|
|
## Build container
|
|
|
|
```shell
|
|
git clone "https://github.com/dockersrc/debian" "$HOME/Projects/github/dockersrc/debian"
|
|
cd "$HOME/Projects/github/dockersrc/debian" && buildx all
|
|
```
|
|
|
|
## Authors
|
|
|
|
🤖 casjay: [Github](https://github.com/casjay) 🤖
|
|
⛵ casjaysdev: [Github](https://github.com/dockersrc) [Docker](https://hub.docker.com/u/casjaysdev) ⛵
|