Skip to content

Infrastructure: Publish Docker dev image and document container CI workflow #202

@PurHur

Description

@PurHur

Problem

Makefile references ircmaxell/php-compiler:16.04-dev / 18.04-dev, but images are not published to Docker Hub (docker pull 404). Runforge/harness hosts must not apt-install LLVM/PHP; they need a reproducible container workflow.

#73 tracks Ubuntu 22.04 + PHP 8.2 upgrade; this issue is publish + docs for any supported image.

Goal

One documented command runs full CI inside Docker with repo mounted:

docker run --rm -v "$(pwd):/compiler" -w /compiler <image> ./script/ci-local.sh

Tasks

  • Add Docker/dev/ubuntu-22.04/ (or refresh Infrastructure: Upgrade Docker images to Ubuntu 22.04 + PHP 8.2 toolchain #73) with PHP 8.2 + extensions from README
  • GitHub Actions job: build image, push to ghcr.io/PurHur/php-compiler:dev
  • Makefile target test-docker wrapping the above
  • README section: "Container development (required on harness hosts)"
  • Bundle LLVM 9 install inside image OR mount .llvm volume
  • Do not modify Runforge harness docker-compose.yml

Acceptance criteria

Fresh clone on a host with only Docker:

docker pull ghcr.io/PurHur/php-compiler:dev
make test-docker   # or documented docker run

→ PHPUnit completes (VM tests at minimum).

Dependencies

Files

  • Docker/, Makefile, README.md, .github/workflows/

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions