mirror of
https://github.com/coollabsio/coolify.git
synced 2026-03-11 08:55:47 +00:00
feat(docker): support --no-cache flag
This commit is contained in:
parent
bdf411a1fc
commit
ecb51d1d90
1 changed files with 2 additions and 0 deletions
|
|
@ -680,6 +680,7 @@ function convertDockerRunToCompose(?string $custom_docker_run_options = null)
|
|||
'--ulimit',
|
||||
'--device',
|
||||
'--shm-size',
|
||||
'--no-cache',
|
||||
]);
|
||||
$mapping = collect([
|
||||
'--cap-add' => 'cap_add',
|
||||
|
|
@ -693,6 +694,7 @@ function convertDockerRunToCompose(?string $custom_docker_run_options = null)
|
|||
'--ip' => 'ip',
|
||||
'--shm-size' => 'shm_size',
|
||||
'--gpus' => 'gpus',
|
||||
'--no-cache' => 'no_cache',
|
||||
]);
|
||||
foreach ($matches as $match) {
|
||||
$option = $match[1];
|
||||
|
|
|
|||
Loading…
Reference in a new issue