{"id":20246970,"url":"https://github.com/oleksis/pyinstaller-manylinux","last_synced_at":"2025-04-10T21:32:12.296Z","repository":{"id":65161181,"uuid":"285837706","full_name":"oleksis/pyinstaller-manylinux","owner":"oleksis","description":"Run Pyinstaller on ManyLinux 2.28 (x86_64) AlmaLinux 8.7 based using Pyenv","archived":false,"fork":false,"pushed_at":"2023-07-23T05:02:15.000Z","size":35,"stargazers_count":5,"open_issues_count":0,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-21T20:01:28.445Z","etag":null,"topics":["docker","manylinux","manylinux-2-24","manylinux-2-28","manylinux2014","pyenv","pyinstaller"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/oleksis.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-08-07T13:37:56.000Z","updated_at":"2024-10-06T02:59:22.000Z","dependencies_parsed_at":"2024-11-20T06:18:17.989Z","dependency_job_id":null,"html_url":"https://github.com/oleksis/pyinstaller-manylinux","commit_stats":{"total_commits":40,"total_committers":3,"mean_commits":"13.333333333333334","dds":0.35,"last_synced_commit":"f0b52f4f88caf1e5f0b6608680d3346272286cb4"},"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oleksis%2Fpyinstaller-manylinux","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oleksis%2Fpyinstaller-manylinux/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oleksis%2Fpyinstaller-manylinux/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oleksis%2Fpyinstaller-manylinux/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oleksis","download_url":"https://codeload.github.com/oleksis/pyinstaller-manylinux/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248301558,"owners_count":21080912,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","manylinux","manylinux-2-24","manylinux-2-28","manylinux2014","pyenv","pyinstaller"],"created_at":"2024-11-14T09:34:35.855Z","updated_at":"2025-04-10T21:32:12.276Z","avatar_url":"https://github.com/oleksis.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Test](https://github.com/oleksis/pyinstaller-manylinux/workflows/Test/badge.svg)](https://github.com/oleksis/pyinstaller-manylinux/actions/workflows/test.yml)\n[![Build](https://github.com/oleksis/pyinstaller-manylinux/actions/workflows/build.yml/badge.svg)](https://github.com/oleksis/pyinstaller-manylinux/actions/workflows/build.yml)\n\n# pyinstaller-manylinux-2.28\nPyInstaller ManyLinux 2.28 Docker Action based on [AlmaLinux](https://github.com/pypa/manylinux) 8.7 (Stone Smilodon)\"\n\nThis action run [PyInstaller](https://www.pyinstaller.org/) using docker image from [pypa/manylinux repository](https://quay.io/repository/pypa/manylinux_2_28_x86_64)\n\n## Inputs\n`pyinstaller-params`\n\n**Required** List of parameters for pyinstaller\n\n## Example usage\n```yaml\nuses: oleksis/pyinstaller-manylinux@v2.3.0\nwith:\n  pyinstaller-params: \"['-c', '-F', '--icon=assets/image.ico', '--exclude-module=test', '--name=app-binary', 'app_module/__main__.py']\"\n```\n\nSee more in [test.yml](.github/workflows/test.yml)\n\n## How to use the Dockerfile\n- Build the image *pyinstaller-manylinux-2.28*\n```bash\ndocker build -t pyinstaller-manylinux-2.28 -f ./Dockerfile .\n```\n- Create bundle app using pyinstaller in the docker image\n```bash\ndocker run --name pyinstaller-manylinux-2.28 \\\n            -it -d \\\n            --workdir /src \\\n            -v $(pwd):/src \\\n            pyinstaller-manylinux-2.28 \\\n            -c -F --name=app tests/app.py\n```\n- View the logs in the docker container\n```bash   \ndocker logs --tail 1000 -f pyinstaller-manylinux-2.28\n```\n- New container with **interactive terminal typing** using bash\n```bash\ndocker run --name pyinstaller-pyenv \\\n            -it \\\n            --entrypoint bash \\\n            --workdir /src \\\n            -v $(pwd):/src \\\n            pyinstaller-manylinux-2.28\n```\n- Start the new container using interactive bash\n```bash\ndocker start -i pyinstaller-pyenv\n\n[root@882bd364e3fe src]# pyenv versions\n* 3.10.10 (set by /root/.pyenv/version)\n```\n- Run the app in the local machine\n```bash\n./dist/app\nHello out there 👋\n```\n\n## How to use Github Container Registry\n[Github Packages](https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-container-registry)\n- [pyinstaller-manylinux](https://github.com/oleksis/pyinstaller-manylinux/pkgs/container/pyinstaller-manylinux)\n\n## Notes\n\n1. This action can execute **`setup.sh`** if it exists in the repository, before installing the requirements (**`requirements.txt`**)\n2. Use [pyenv](https://github.com/pyenv/pyenv) in ManyLinux to have Python builded with `--enable-shared`.\n   Some project we need add **crypto binary library** using PyInstaller `--add-binary libcryt.so.2:.`\n```bash\ncp /usr/local/lib/libcrypt.so.2 .\n```\n\n## Releases\nPyInstaller ManyLinux 2.28 Docker Action [v2.3.0](https://github.com/oleksis/pyinstaller-manylinux/releases/tag/v2.3.0)\n- This action run PyInstaller using docker image (AlmaLinux 8.7 based) from [pypa/manylinux repository](https://quay.io/repository/pypa/manylinux_2_28_x86_64)\n- Python 3.10\n\nPyInstaller ManyLinux 2.28 Docker Action [v2.2.1](https://github.com/oleksis/pyinstaller-manylinux/releases/tag/v2.2.1)\n- This action run PyInstaller using docker image (AlmaLinux 8.7 based) from [pypa/manylinux repository](https://quay.io/repository/pypa/manylinux_2_28_x86_64)\n- Python 3.8\n\nPyInstaller ManyLinux 2.24 Docker Action [v2.1.2](https://github.com/oleksis/pyinstaller-manylinux/releases/tag/v2.1.2)\n- This action run PyInstaller using docker image (Debian 9 based) from [pypa/manylinux repository](https://quay.io/repository/pypa/manylinux_2_24_x86_64)\n- Python 3.6\n\nPyInstaller ManyLinux 2014 Docker Action [v1.0.0](https://github.com/oleksis/pyinstaller-manylinux/releases/tag/v1)\n- This action run PyInstaller using docker image (Centos 7 based) from [pypa/manylinux repository](https://quay.io/repository/pypa/manylinux2014_x86_64)\n- Python 3.6\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foleksis%2Fpyinstaller-manylinux","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foleksis%2Fpyinstaller-manylinux","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foleksis%2Fpyinstaller-manylinux/lists"}