Skip to content

fix: switch 8.0.1 Dockerfile from archive to git clone#604

Merged
kojiromike merged 1 commit intoopenemr:masterfrom
kojiromike:fix-801-test
Mar 23, 2026
Merged

fix: switch 8.0.1 Dockerfile from archive to git clone#604
kojiromike merged 1 commit intoopenemr:masterfrom
kojiromike:fix-801-test

Conversation

@kojiromike
Copy link
Copy Markdown
Member

Summary

  • Switch the 8.0.1 Dockerfile's OpenEMR fetch from GitHub archive to git clone --depth 1
  • OpenEMR's .gitattributes now marks tests/, phpunit*.xml, and other dev files as export-ignore (chore: add export-ignore rules to .gitattributes openemr#11213), which excludes them from archives
  • This caused CI to fail because phpunit.xml and test directories were missing from the image
  • git clone ignores export-ignore rules, matching the approach used by the older production Dockerfiles (7.0.4, 8.0.0)

Fixes #603

Test plan

  • Production Docker (8.0.1) CI job passes

OpenEMR's .gitattributes now marks tests/, phpunit*.xml, and other
dev files as export-ignore (openemr/openemr#11213). GitHub archives
respect these rules, so the 8.0.1 image was missing test files needed
by the CI test suite.

Switch to git clone --depth 1 which ignores export-ignore rules,
matching the approach used by the older production Dockerfiles.

Fixes openemr#603
@kojiromike kojiromike merged commit 62fd0ab into openemr:master Mar 23, 2026
14 checks passed
# last component of the path (e.g., "master" from "refs/heads/master")
ARG OPENEMR_VERSION=refs/heads/master
# - Branch: --build-arg OPENEMR_VERSION=master
# - Tag: --build-arg OPENEMR_VERSION=v7.0.5
Copy link
Copy Markdown
Member

@bradymiller bradymiller Mar 24, 2026

Choose a reason for hiding this comment

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

@kojiromike , pretty sure this tag is incorrect. Should be v7_0_5 (or next to be v8_0_1). we generally use the branch would be rel-801.

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.

Production Docker 8.0.1 test fails: PHPUnit testsuite unit not recognized

2 participants