mirror of
https://github.com/dockersrc/alpine
synced 2026-06-30 17:45:53 -04:00
6cc202ac60
- Renamed `dockerfs/` directory tree to `rootfs/` for all setup scripts, binaries, functions, and template files - Updated all Dockerfile variants (3.14 through 3.23, edge, and base) to reference the new `rootfs/` path - Updated README.md to reflect the new directory structure - Preserved file contents during the rename (100% similarity across moved files) Dockerfile Dockerfile.3.14 Dockerfile.3.15 Dockerfile.3.16 Dockerfile.3.17 Dockerfile.3.18 Dockerfile.3.19 Dockerfile.3.20 Dockerfile.3.21 Dockerfile.3.22 Dockerfile.3.23 Dockerfile.edge dockerfs/root/docker/setup/00-init.sh dockerfs/root/docker/setup/01-system.sh dockerfs/root/docker/setup/02-packages.sh dockerfs/root/docker/setup/03-files.sh dockerfs/root/docker/setup/04-users.sh dockerfs/root/docker/setup/05-custom.sh dockerfs/root/docker/setup/06-post.sh dockerfs/root/docker/setup/07-cleanup.sh dockerfs/usr/local/bin/copy dockerfs/usr/local/bin/entrypoint.sh dockerfs/usr/local/bin/pkmgr dockerfs/usr/local/bin/symlink dockerfs/usr/local/etc/docker/functions/entrypoint.sh dockerfs/usr/local/share/template-files/config/env/default.sample dockerfs/usr/local/share/template-files/config/env/examples/00-directory.sh dockerfs/usr/local/share/template-files/config/env/examples/addresses.sh dockerfs/usr/local/share/template-files/config/env/examples/certbot.sh dockerfs/usr/local/share/template-files/config/env/examples/couchdb.sh dockerfs/usr/local/share/template-files/config/env/examples/dockerd.sh dockerfs/usr/local/share/template-files/config/env/examples/global.sh dockerfs/usr/local/share/template-files/config/env/examples/healthcheck.sh dockerfs/usr/local/share/template-files/config/env/examples/mariadb.sh dockerfs/usr/local/share/template-files/config/env/examples/mongodb.sh dockerfs/usr/local/share/template-files/config/env/examples/networking.sh dockerfs/usr/local/share/template-files/config/env/examples/other.sh dockerfs/usr/local/share/template-files/config/env/examples/php.sh dockerfs/usr/local/share/template-files/config/env/examples/postgres.sh dockerfs/usr/local/share/template-files/config/env/examples/redis.sh dockerfs/usr/local/share/template-files/config/env/examples/services.sh dockerfs/usr/local/share/template-files/config/env/examples/ssl.sh dockerfs/usr/local/share/template-files/config/env/examples/supabase.sh dockerfs/usr/local/share/template-files/config/env/examples/webservers.sh dockerfs/usr/local/share/template-files/config/env/examples/zz-entrypoint.sh dockerfs/usr/local/share/template-files/config/.gitkeep dockerfs/usr/local/share/template-files/data/.gitkeep dockerfs/usr/local/share/template-files/defaults/.gitkeep README.md
70 lines
1.8 KiB
Markdown
70 lines
1.8 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 "/var/lib/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/." "/var/lib/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 "/var/lib/srv/root/docker/casjaysdev/alpine/latest/data:/data:z" \
|
|
-v "/var/lib/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:
|
|
- "/var/lib/srv/root/docker/casjaysdev/alpine/latest/data:/data:z"
|
|
- "/var/lib/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) ⛵
|