fix: switch 8.0.1 Dockerfile from archive to git clone#604
Merged
kojiromike merged 1 commit intoopenemr:masterfrom Mar 23, 2026
Merged
fix: switch 8.0.1 Dockerfile from archive to git clone#604kojiromike merged 1 commit intoopenemr:masterfrom
kojiromike merged 1 commit intoopenemr:masterfrom
Conversation
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
bradymiller
reviewed
Mar 24, 2026
| # 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 |
Member
There was a problem hiding this comment.
@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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
git clone --depth 1.gitattributesnow markstests/,phpunit*.xml, and other dev files asexport-ignore(chore: add export-ignore rules to .gitattributes openemr#11213), which excludes them from archivesphpunit.xmland test directories were missing from the imagegit cloneignores export-ignore rules, matching the approach used by the older production Dockerfiles (7.0.4, 8.0.0)Fixes #603
Test plan