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
+52
View File
@@ -0,0 +1,52 @@
<?php
/**
* This file is to show the sample implementations of the laravel-audit library
* and will act as a reference for whatever parameters are passed into a model
*/
namespace Streamline\Models;
// include the Auditable class
use OwenIt\Auditing\Contracts\Auditable;
use Illuminate\Database\Eloquent\Model;
class AuditModelTemplate extends Model implements Auditable{
// implement methods in the Auditable class to avoid abstraction
use \OwenIt\Auditing\Auditable;
/**
* Attributes to include in the Audit.
*
* Array includes elements that will be whitelisted, these are column names
*
* @var array
*/
protected $auditInclude = [
'title',
'content',
];
/**
* Attributes to exclude from the Audit.
*
* Array includes elements that will be blacklisted, these are column names
*
* @var array
*/
protected $auditExclude = [
'published',
];
/**
* Should the audit be strict?
*
* @var bool
*/
protected $auditStrict = true;
}