Skip to content

feat: add Docker build infrastructure for portal-builder#1

Merged
pcfreak30 merged 5 commits intodevelopfrom
init
Feb 4, 2026
Merged

feat: add Docker build infrastructure for portal-builder#1
pcfreak30 merged 5 commits intodevelopfrom
init

Conversation

@pcfreak30
Copy link
Member

@pcfreak30 pcfreak30 commented Feb 4, 2026

  • Add Dockerfile for multi-stage portal builds with xportal
  • Add build-portal.sh script for building with plugin manifests
  • Add GitHub Actions workflow for automated Docker image builds
  • Add JSON schema for plugin manifest validation
  • Add comprehensive documentation in README.md
  • Configure git-town for branch management
  • Update copyright license to Hammer Technologies LLC

This pull request adds Docker build infrastructure for the portal-builder project. The changes include:

  1. Docker Build Configuration:

    • Added a Dockerfile that creates a base build image with Go, xportal, yq, and other necessary tools
    • Includes pre-populated Go module cache for faster builds
    • Configured as a base image pattern for building custom Portal instances
  2. CI/CD Pipeline:

    • Added GitHub Actions workflow for automated Docker image building and pushing
    • Supports multi-platform builds (linux/amd64, linux/arm64)
    • Triggers on pushes to develop branch, tags, pull requests, and weekly schedule
    • Includes caching and force-fresh build options
  3. Build Tooling:

    • Added build-portal.sh script that handles Portal compilation with custom plugins
    • Supports plugin configuration via YAML manifest or environment variables
    • Includes JSON schema validation for plugin manifests
    • Flexible plugin versioning and Portal version selection
  4. Documentation and Configuration:

    • Comprehensive README with usage examples and configuration options
    • Docker ignore file to exclude unnecessary files from builds
    • Git configuration for Git Town workflow
    • Updated license attribution

The infrastructure enables users to build custom Portal instances with specific plugins using Docker multi-stage builds, with support for different Portal versions and plugin configurations.

@kody-ai

This comment has been minimized.

- Add Dockerfile for multi-stage portal builds with xportal
- Add build-portal.sh script for building with plugin manifests
- Add GitHub Actions workflow for automated Docker image builds
- Add JSON schema for plugin manifest validation
- Add comprehensive documentation in README.md
- Configure git-town for branch management
- Update copyright license to Hammer Technologies LLC
@kody-ai

This comment has been minimized.

## Features

- **Base image pattern**: Extend in your own Dockerfile for custom builds
- **Pre-configured build environment**: Based on `golang:1.25-alpine`
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

kody code-review Bug high

There is a Go version inconsistency between the README.md documentation and the Dockerfile. The README.md incorrectly references 'golang:1.25-alpine' (a non-existent version) in one comment and 'golang:1.21-alpine' in another, while the Dockerfile uses 'golang:1.25-alpine'. This discrepancy will cause Docker build failures and confuse users about the actual build environment.

This issue appears in multiple locations:

  • README.md: Lines 8-8
  • README.md: Lines 8-8
    Please update the README.md to consistently document the correct Go version used in the Dockerfile. Since Go 1.25 does not exist, both the README.md and Dockerfile should be updated to use a valid Go version like 'golang:1.23-alpine' to ensure build success and documentation accuracy.
- **Pre-configured build environment**: Based on `golang:1.23-alpine`
Prompt for LLM

File README.md:

Line 8:

I found a critical bug in the README.md documentation. The file states that the portal-builder Docker image is based on 'golang:1.25-alpine', but Go version 1.25 does not exist yet (it's scheduled for August 2025 release). The current latest stable Go version is 1.23.x. When users try to build the Docker image using this documentation, Docker will fail to pull the non-existent golang:1.25-alpine image, causing the entire build process to fail. Please fix the version reference to use an actual available Go version like 1.23-alpine.

Suggested Code:

- **Pre-configured build environment**: Based on `golang:1.23-alpine`

Talk to Kody by mentioning @kody

Was this suggestion helpful? React with 👍 or 👎 to help Kody learn from this interaction.

@kody-ai
Copy link

kody-ai bot commented Feb 4, 2026

Kody Review Complete

Great news! 🎉
No issues were found that match your current review configurations.

Keep up the excellent work! 🚀

Kody Guide: Usage and Configuration
Interacting with Kody
  • Request a Review: Ask Kody to review your PR manually by adding a comment with the @kody start-review command at the root of your PR.

  • Validate Business Logic: Ask Kody to validate your code against business rules by adding a comment with the @kody -v business-logic command.

  • Provide Feedback: Help Kody learn and improve by reacting to its comments with a 👍 for helpful suggestions or a 👎 if improvements are needed.

Current Kody Configuration
Review Options

The following review options are enabled or disabled:

Options Enabled
Bug
Performance
Security
Cross File

Access your configuration settings here.

@pcfreak30 pcfreak30 merged commit acc7314 into develop Feb 4, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant