mirror of
https://github.com/casjaysdevdocker/python
synced 2026-06-23 20:01:02 -04:00
77ce7f9966b37f2f78e376282a17e2e9d218f816
Update the embedded entrypoint copies in rootfs/ to match the upstream template change. Internal state files renamed to dotfiles so they're not matched by `/run/*.pid` cleanup globs: - /run/init.d/entrypoint.pid -> /run/.entrypoint.pid - /run/no_exit.pid -> /run/.no_exit.pid - /run/backup.pid -> /run/.backup.pid - /run/__start_init_scripts.pid -> /run/.start_init_scripts.pid Per-service PIDs in /run/init.d/ are unchanged. rootfs/usr/local/bin/entrypoint.sh rootfs/usr/local/etc/docker/functions/entrypoint.sh rootfs/usr/local/share/template-files/config/env/default.sample rootfs/usr/local/share/template-files/config/env/examples/zz-entrypoint.sh
👋 Welcome to python 🚀
Description
Install my system scripts
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
dockermgr update python
Install and run container
mkdir -p "$HOME/.local/share/srv/docker/python/volumes"
git clone "https://github.com/dockermgr/python" "$HOME/.local/share/CasjaysDev/dockermgr/python"
cp -Rfva "$HOME/.local/share/CasjaysDev/dockermgr/python/rootfs/." "$HOME/.local/share/srv/docker/python/volumes/"
docker run -d \
--restart always \
--privileged \
--name casjaysdevdocker-python \
--hostname python \
-e TZ=${TIMEZONE:-America/New_York} \
-v "$HOME/.local/share/srv/docker/casjaysdevdocker-python/volumes/data:/data:z" \
-v "$HOME/.local/share/srv/docker/casjaysdevdocker-python/volumes/config:/config:z" \
-p 80:80 \
casjaysdevdocker/python:latest
via docker-compose
version: "2"
services:
ProjectName:
image: casjaysdevdocker/python
container_name: casjaysdevdocker-python
environment:
- TZ=America/New_York
- HOSTNAME=python
volumes:
- "$HOME/.local/share/srv/docker/casjaysdevdocker-python/volumes/data:/data:z"
- "$HOME/.local/share/srv/docker/casjaysdevdocker-python/volumes/config:/config:z"
ports:
- 80:80
restart: always
Get source files
dockermgr download src casjaysdevdocker/python
OR
git clone "https://github.com/casjaysdevdocker/python" "$HOME/Projects/github/casjaysdevdocker/python"
Build container
cd "$HOME/Projects/github/casjaysdevdocker/python"
buildx
Authors
Description
Languages
Shell
90.5%
Dockerfile
9.5%