Skip to content

feat(docker): add Docker support and one-click installer - #29

Merged
louisdevzz merged 1 commit into
mainfrom
fix/docker-and-install
Mar 4, 2026
Merged

louisdevzz merged 1 commit into
mainfrom
fix/docker-and-install

Conversation

@louisdevzz

@louisdevzz louisdevzz commented Mar 4, 2026 •

Copy link
Copy Markdown
Contributor

Changes:

  • Add .github/workflows/docker-publish.yml for GitHub Packages
  • Update docker-compose.yml to use ghcr.io/potlock/zerobuild:latest
  • Update bootstrap.sh with correct PotLock/zerobuild repo URL
  • Create new install.sh as one-click installer with Docker/binary/source options
  • Update zerobuild_install.sh to delegate to install.sh

Features:

  • Auto-detects best install method (Docker > Binary > Source)
  • Docker: Pulls from GitHub Container Registry with wrapper script
  • Binary: Downloads pre-built release for detected platform
  • Source: Builds from source if Rust is available

Usage:

curl -fsSL https://raw.githubusercontent.com/PotLock/zerobuild/main/install.sh | bash

Summary by CodeRabbit

Release Notes

  • New Features

    • Automated Docker image building and publishing with multi-architecture support
    • One-click installer supporting Docker, prebuilt binary, and source installation methods with automatic detection
  • Chores

    • Updated repository references and container image locations
    • Simplified installation bootstrap process

Changes:

- Add .github/workflows/docker-publish.yml for GitHub Packages

- Update docker-compose.yml to use ghcr.io/potlock/zerobuild:latest

- Update bootstrap.sh with correct PotLock/zerobuild repo URL

- Create new install.sh as one-click installer with Docker/binary/source options

- Update zerobuild_install.sh to delegate to install.sh

Features:

- Auto-detects best install method (Docker > Binary > Source)

- Docker: Pulls from GitHub Container Registry with wrapper script

- Binary: Downloads pre-built release for detected platform

- Source: Builds from source if Rust is available

Usage:

  curl -fsSL https://raw.githubusercontent.com/PotLock/zerobuild/main/install.sh | bash
@louisdevzz
louisdevzz merged commit 85a15f5 into main Mar 4, 2026
4 of 8 checks passed
@github-actions

github-actions Bot commented Mar 4, 2026

Copy link
Copy Markdown

PR Intake Checks - Warnings (non-blocking)

The following are recommendations:

  • Missing sections: Summary, Problem statement, Proposed solution, Acceptance criteria
  • No issue reference found (recommended for traceability)

@coderabbitai

coderabbitai Bot commented Mar 4, 2026 •

Copy link
Copy Markdown

Caution

Review failed

The pull request is closed.

Note

.coderabbit.yaml has unrecognized properties

CodeRabbit is using all valid settings from your configuration. Unrecognized properties (listed below) have been ignored and may indicate typos or deprecated fields that can be removed.

⚠️ Parsing warnings (1)
Validation error: Unrecognized key(s) in object: 'version', 'tests', 'ignore'
⚙️ Configuration instructions
  • Please see the configuration documentation for more information.
  • You can also validate your configuration using the online YAML validator.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json
ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: fb1d7c0e-783a-4720-8b6a-4799204d9d8e

📥 Commits

Reviewing files that changed from the base of the PR and between 5b596d2 and e9a62f5.

📒 Files selected for processing (5)
  • .github/workflows/docker-publish.yml
  • docker-compose.yml
  • install.sh
  • scripts/bootstrap.sh
  • zerobuild_install.sh

Walkthrough

This PR adds GitHub Actions CI/CD automation for building and publishing Docker images to GHCR, introduces a comprehensive multi-method installer script supporting Docker, pre-built binaries, and source builds, updates repository references from zeroclaw-labs to PotLock organization, and refactors the installer bootstrap to delegate to the new install.sh script.

Changes

Cohort / File(s) Summary
Docker & Container Configuration
.github/workflows/docker-publish.yml, docker-compose.yml
New GitHub Actions workflow automates multi-architecture Docker image builds (amd64, arm64) and pushes to ghcr.io on main pushes, version tags, and PRs. Includes separate release and dev image builds. docker-compose.yml updates image reference to PotLock registry and adds commented dev build configuration.
Installation Scripts
install.sh, scripts/bootstrap.sh, zerobuild_install.sh
New install.sh provides feature-complete installer with three methods (Docker, pre-built binary, source build), platform detection, auto-selection logic, and user guidance. bootstrap.sh updates repository and archive URLs to PotLock organization. zerobuild_install.sh refactored to minimal delegator that chains to local install.sh or bootstrap.sh before falling back to remote installer.

Estimated code review effort

🎯 4 (Complex) | ⏱️ ~45 minutes

✨ Finishing Touches
  • 📝 Generate docstrings (stacked PR)
  • 📝 Generate docstrings (commit on current branch)
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch fix/docker-and-install

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant