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:
2024-03-10 16:17:50 -07:00
parent 2ffc3c408a
commit a424394109
13506 changed files with 1860172 additions and 6 deletions
@@ -0,0 +1,41 @@
<?php
namespace Database\Seeders;
use Illuminate\Database\Seeder;
use Streamline\Models\AnaesthesiaAirway;
class AnaesthesiaAirwaysTableSeeder extends Seeder
{
/**
* Run the database seeders.
*
* @return void
*/
public function run()
{
/* `streamline_db`.`anaesthesia_airway` */
$anaesthesia_airway = array(
array('Id' => '1','Name' => 'Nasal prongs'),
array('Id' => '2','Name' => 'Mask'),
array('Id' => '3','Name' => 'Bag & mask ventilation'),
array('Id' => '4','Name' => 'Intubated s/r'),
array('Id' => '5','Name' => 'Intubated ventilated'),
array('Id' => '6','Name' => 'Nil'),
array('Id' => '7','Name' => 'Test airway edittted'),
array('Id' => '8','Name' => 'Another Test Airway edited'),
array('Id' => '9','Name' => 'Test Two Airway'),
array('Id' => '10','Name' => 'Test Three Airway'),
array('Id' => '12','Name' => 'Test four Airway'),
array('Id' => '13','Name' => 'Test airway random'),
array('Id' => '14','Name' => 'Final Airway name'),
array('Id' => '15','Name' => 'Laryngeal Mask')
);
foreach ($anaesthesia_airway as $airway):
AnaesthesiaAirway::firstOrCreate([
"id" => $airway['Id'],
"name" => $airway['Name']
]);
endforeach;
}
}