mirror of
https://github.com/dockersrc/alpine
synced 2026-07-21 19:04:03 -04:00
43b1a1a946
Build and Push 3.14 / build (push) Has been cancelled
Build and Push 3.15 / build (push) Has been cancelled
Build and Push 3.16 / build (push) Has been cancelled
Build and Push 3.17 / build (push) Has been cancelled
Build and Push 3.18 / build (push) Has been cancelled
Build and Push 3.19 / build (push) Has been cancelled
Build and Push 3.20 / build (push) Has been cancelled
Build and Push 3.21 / build (push) Has been cancelled
Build and Push 3.22 / build (push) Has been cancelled
Build and Push 3.23 / build (push) Has been cancelled
Build and Push edge / 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. - AI.md README.md : update path references to /srv/$USER/docker AI.md README.md
70 lines
1.7 KiB
Markdown
70 lines
1.7 KiB
Markdown
## 👋 Welcome to alpine 🚀
|
|
|
|
alpine 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 alpine
|
|
```
|
|
|
|
## Install and run container
|
|
|
|
```shell
|
|
mkdir -p "/srv/root/docker/casjaysdev/alpine/latest"
|
|
git clone "https://github.com/dockermgr/alpine" "$HOME/.local/share/CasjaysDev/dockermgr/alpine"
|
|
cp -Rfva "$HOME/.local/share/CasjaysDev/dockermgr/alpine/rootfs/." "/srv/root/docker/casjaysdev/alpine/latest/"
|
|
docker run -d \
|
|
--restart always \
|
|
--privileged \
|
|
--name casjaysdev-alpine-latest \
|
|
--hostname alpine \
|
|
-e TZ=${TIMEZONE:-America/New_York} \
|
|
-v "/srv/root/docker/casjaysdev/alpine/latest/data:/data:z" \
|
|
-v "/srv/root/docker/casjaysdev/alpine/latest/config:/config:z" \
|
|
casjaysdev/alpine:latest
|
|
```
|
|
|
|
## via docker-compose
|
|
|
|
```yaml
|
|
version: "2"
|
|
services:
|
|
ProjectName:
|
|
image: casjaysdev/alpine
|
|
container_name: casjaysdev-alpine-latest
|
|
environment:
|
|
- TZ=America/New_York
|
|
- HOSTNAME=alpine
|
|
volumes:
|
|
- "/srv/root/docker/casjaysdev/alpine/latest/data:/data:z"
|
|
- "/srv/root/docker/casjaysdev/alpine/latest/config:/config:z"
|
|
restart: always
|
|
```
|
|
|
|
## Get source files
|
|
|
|
```shell
|
|
dockermgr download src os alpine
|
|
```
|
|
|
|
## Build container
|
|
|
|
```shell
|
|
git clone "https://github.com/dockersrc/alpine" "$HOME/Projects/github/dockersrc/alpine"
|
|
cd "$HOME/Projects/github/dockersrc/alpine" && buildx all
|
|
```
|
|
|
|
## Authors
|
|
|
|
🤖 casjay: [Github](https://github.com/casjay) 🤖
|
|
⛵ casjaysdev: [Github](https://github.com/dockersrc) [Docker](https://hub.docker.com/u/casjaysdev) ⛵
|