Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/actions/test-actions-core/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,13 @@ runs:

- name: Install
run: |
# Run as apache, not root: openemr/openemr#12267 added RootCliGuard,
# which aborts the installer when it runs as root (UID 0). apache owns
# the baked source in every slot's Dockerfile, so it can write sqlconf.php
# and generated keys. --user is portable across all slots (unlike su-exec,
# which #743 only added to flex/8.1.1/binary).
docker compose exec \
--user apache \
--env OPENEMR_ENABLE_INSTALLER_AUTO=1 \
--workdir /var/www/localhost/htdocs/openemr/contrib/util/installScripts \
"${OPENEMR_SERVICE_NAME}" sh -c 'sed -e "s@^exit;@ @" InstallerAuto.php |
Expand Down
Loading