8000 GitHub - edclol/py39-pack: py39-pack · GitHub
[go: up one dir, main page]

Skip to content
edclolPublic

About

py39-pack

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

20 Commits

Folders and files

Repository files navigation

py39-pack

Build a portable Python 3.9 conda environment packaged as py39.tgz, based on CentOS 7, delivered via Docker image to GHCR.

Usage

Pull the image

docker pull ghcr.io/edclol/py39-pack

Extract py39.tgz

Option 1 — Bind mount a volume:

docker run --rm -v $(pwd):/output ghcr.io/edclol/py39-pack
# → py39.tgz appears in current directory

Option 2 — Stream to stdout:

docker run --rm ghcr.io/edclol/py39-pack > py39.tgz

Deploy the tgz to a server

# On the target server
mkdir -p /data/soft/py39
tar -xzf py39.tgz -C /data/soft/py39
source /data/soft/py39/bin/activate

What's inside

  • Python 3.9.20 (via conda)
  • Packages: pandas, numpy, fastapi, uvicorn, SQLAlchemy, psycopg2, pymysql, pyodbc, jaydebeapi, cryptography, requests, httpx, matplotlib, scipy, and more (see req.txt)

Build locally

docker build -t py39-pack .
docker run --rm -v $(pwd):/output py39-pack

GitHub Container Registry

Push to your GitHub repo → GitHub Actions automatically builds and pushes to ghcr.io/edclol/py39-pack.

About

py39-pack

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages

0