mirror of
https://gitlab.com/signalytic/client-external/streamline/streamline-emr.git
synced 2026-09-11 18:51:31 +00:00
Build modified streamline images
The official image from streamline does not currently work for the arm64 platform. As a temporary measure, the source code and docker build scripts have been lifted from the official images and are used to build locally. Some additional modifications are made to reduce overall image size, these are documented in docker/README.md
This commit is contained in:
+19
@@ -0,0 +1,19 @@
|
||||
#!/usr/bin/env php
|
||||
<?php
|
||||
/**
|
||||
* PHP Code Beautifier and Fixer fixes violations of a defined coding standard.
|
||||
*
|
||||
* @author Greg Sherwood <gsherwood@squiz.net>
|
||||
* @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600)
|
||||
* @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
|
||||
*/
|
||||
|
||||
if (is_file(__DIR__.'/../autoload.php') === true) {
|
||||
include_once __DIR__.'/../autoload.php';
|
||||
} else {
|
||||
include_once 'PHP/CodeSniffer/autoload.php';
|
||||
}
|
||||
|
||||
$runner = new PHP_CodeSniffer\Runner();
|
||||
$exitCode = $runner->runPHPCBF();
|
||||
exit($exitCode);
|
||||
@@ -0,0 +1,10 @@
|
||||
@echo off
|
||||
REM PHP Code Beautifier and Fixer fixes violations of a defined coding standard.
|
||||
REM
|
||||
REM @author Greg Sherwood <gsherwood@squiz.net>
|
||||
REM @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600)
|
||||
REM @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
|
||||
|
||||
set PHPBIN=php
|
||||
|
||||
"%PHPBIN%" "%~dp0\phpcbf" %*
|
||||
+19
@@ -0,0 +1,19 @@
|
||||
#!/usr/bin/env php
|
||||
<?php
|
||||
/**
|
||||
* PHP_CodeSniffer detects violations of a defined coding standard.
|
||||
*
|
||||
* @author Greg Sherwood <gsherwood@squiz.net>
|
||||
* @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600)
|
||||
* @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
|
||||
*/
|
||||
|
||||
if (is_file(__DIR__.'/../autoload.php') === true) {
|
||||
include_once __DIR__.'/../autoload.php';
|
||||
} else {
|
||||
include_once 'PHP/CodeSniffer/autoload.php';
|
||||
}
|
||||
|
||||
$runner = new PHP_CodeSniffer\Runner();
|
||||
$exitCode = $runner->runPHPCS();
|
||||
exit($exitCode);
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
@echo off
|
||||
REM PHP_CodeSniffer detects violations of a defined coding standard.
|
||||
REM
|
||||
REM @author Greg Sherwood <gsherwood@squiz.net>
|
||||
REM @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600)
|
||||
REM @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
|
||||
|
||||
set PHPBIN=php
|
||||
|
||||
"%PHPBIN%" "%~dp0\phpcs" %*
|
||||
Reference in New Issue
Block a user