OpenEMR flex docker updated

Hi,

For developers. The OpenEMR flex docker has been updated with some devtools improvements. Additionally, a really nice script has been added (thank you @reidliu41 !!), which makes is much easier to use the easy dev (and insane dev) docker environments and the devtools.

This script and instructions for installing it can be found here:
openemr-devops/README.md at master · openemr/openemr-devops · GitHub

Here are the supported tools/commands:

$ openemr-cmd --help

Usage: openemr-cmd COMMAND [ARGS]
Usage: openemr-cmd -d <docker name> COMMAND [ARGS]
Commands:
  -h, --help                         Show the commands usage
  -v, --version                      Show the openemr-cmd command version
  -d                                 Specify the docker id or name to execute commands
  up                                 Execute: docker-compose up -d
  down                               Execute: docker-compose down -v
  start                              Execute: docker-compose start
  stop                               Execute: docker-compose stop
  s, shell                           Open a docker shell quickly
  e, exec                            Execute commands outside docker
  bt, build-themes                   Make changes to any files on your local file system
  pl, php-log                        To check PHP error logs
  dl, docker-log                     To check docker log
  dn, docker-names                   To check docker the running docker names
  pr, psr12-report                   To create a report of PSR12 code styling issues
  pf, psr12-fix                      To fix PSR12 code styling issues
  ltr, lint-themes-report            To create a report of theme styling issues
  ltf, lint-themes-fix               To fix theme styling issues
  pp, php-parserror                  To check PHP parsing errors
  ut, unit-test                      To run unit testing
  at, api-test                       To run api testing
  et, e2e-test                       To run e2e testing
  st, services-test                  To run services testing
  ft, fixtures-test                  To run fixtures testing
  vt, validators-test                To run validators testing
  ct, controllers-test               To run controllers testing
  ctt, common-test                   To run common testing
  cs, clean-sweep                    To run the entire dev tool suite
  cst, clean-sweep-tests             To run only all the automated tests
  dr, dev-reset                      To reset OpenEMR only
  dri, dev-reset-install             To reset and reinstall OpenEMR
  drid, dev-reset-install-demodata   To reset and reinstall OpenEMR with demo data
  bs, backup-snapshot                Create a backup snapshot
  rs, restore-snapshot               Restore from a snapshot
  ls, list-snapshots                 To list the snapshots
  lc, list-capsules                  List the capsules
  gc, get-capsule                    Copy the capsule from the docker to your host directory
  pc, put-capsule                    Copy the capsule into the docker
  ev, ensure-version                 Upgrade OpenEMR from specified old version to current version
  em, enable-multisite               Turn on support for multisite
  dm, disable-multisite              Turn off support for multisite
  ec, encoding-collation             Change the database character set and collation

This docker is used in the docker development environments. So, recommend updating your local flex docker via:
docker pull openemr/openemr:flex

-brady

2 Likes