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,45 @@
<?php
namespace OwenIt\Auditing\Console;
use Illuminate\Console\GeneratorCommand;
class AuditResolverCommand extends GeneratorCommand
{
/**
* {@inheritdoc}
*/
protected $name = 'auditing:audit-resolver';
/**
* {@inheritdoc}
*/
protected $description = 'Create a new audit resolver';
/**
* {@inheritdoc}
*/
protected $type = 'AuditResolver';
/**
* {@inheritdoc}
*/
protected function getStub()
{
return __DIR__ . '/../../stubs/resolver.stub';
}
/**
* {@inheritdoc}
*/
protected function getDefaultNamespace($rootNamespace)
{
return $rootNamespace . '\AuditResolvers';
}
public function handle()
{
$this->info('Add your new resolver to the resolvers array in audit.php config file.');
return parent::handle();
}
}