Skip to content

Commit 49c97d0

Browse files
maomoralesclaude
andcommitted
Use staticx for fully portable Linux binary (no glibc dependency)
PyInstaller + staticx bundles everything including libc, producing a binary that runs on any Linux distro regardless of glibc version. Bump version to 0.4.9. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 2c37cc3 commit 49c97d0

2 files changed

Lines changed: 11 additions & 6 deletions

File tree

.github/workflows/release.yml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,19 +15,24 @@ jobs:
1515
# Build Linux binary (only platform where unsigned binaries work well)
1616
build-linux:
1717
runs-on: ubuntu-latest
18-
container:
19-
image: quay.io/pypa/manylinux_2_28_x86_64
2018
steps:
2119
- uses: actions/checkout@v4
2220

21+
- uses: actions/setup-python@v5
22+
with:
23+
python-version: "3.12"
24+
2325
- name: Install dependencies
2426
run: |
25-
python3.12 -m pip install pyinstaller
26-
python3.12 -m pip install -e .
27+
sudo apt-get update && sudo apt-get install -y scons
28+
pip install pyinstaller staticx
29+
pip install -e .
2730
2831
- name: Build binary
2932
run: |
30-
python3.12 -m PyInstaller --onefile --name dailybot --clean dailybot_cli/main.py
33+
pyinstaller --onefile --name dailybot --clean dailybot_cli/main.py
34+
staticx dist/dailybot dist/dailybot-static
35+
mv dist/dailybot-static dist/dailybot
3136
3237
- name: Upload artifact
3338
uses: actions/upload-artifact@v4

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "dailybot-cli"
7-
version = "0.4.8"
7+
version = "0.4.9"
88
description = "Dailybot CLI - The command-line bridge between humans and agents. Progress reports, observability, and workflow automation for modern teams across Slack, Google Chat, Discord, MS Teams, and more."
99
readme = "README.md"
1010
license = {text = "MIT"}

0 commit comments

Comments
 (0)