Skip to content

feat(docker): add Dockerfile.local for local development and fix migrations#8866

Open
fabioluciano wants to merge 2 commits intoapache:mainfrom
fabioluciano:some-fixes
Open

feat(docker): add Dockerfile.local for local development and fix migrations#8866
fabioluciano wants to merge 2 commits intoapache:mainfrom
fabioluciano:some-fixes

Conversation

@fabioluciano
Copy link
Copy Markdown

Summary

This PR introduces local development improvements and migration fixes:

Docker Changes:

  • Add Dockerfile.local for faster local development (single-platform build, no multi-arch cross-compilation)
  • Update docker-compose-dev.yml to use local Dockerfile with development-friendly environment variables
  • Fix libgit2 version from 1.3.2 → 1.3.0 in production Dockerfile for consistency

Migration Improvements:

  • Add missing index to tool_github_jobs table
  • Improve error handling and transaction management in multiple migration scripts
  • Add scope_config_id fields to S3 and project tables
  • Refactor character set and commit character type migrations for better reliability

Does this close any open issues?

No related issues.

Screenshots

N/A - Backend changes only.

Other Information

The new Dockerfile.local significantly speeds up local builds by:

  • Building for native platform only (no cross-compilation)
  • Simplifying libgit2 installation
  • Including FORCE_MIGRATION=true for easier local testing

@dosubot dosubot Bot added size:L This PR changes 100-499 lines, ignoring generated files. devops Something about CI/CD (devops) pr-type/feature-development This PR is to develop a new feature labels May 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

devops Something about CI/CD (devops) pr-type/feature-development This PR is to develop a new feature size:L This PR changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant