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',
|
'--ulimit',
|
||||||
'--device',
|
'--device',
|
||||||
'--shm-size',
|
'--shm-size',
|
||||||
|
'--no-cache',
|
||||||
]);
|
]);
|
||||||
$mapping = collect([
|
$mapping = collect([
|
||||||
'--cap-add' => 'cap_add',
|
'--cap-add' => 'cap_add',
|
||||||
|
|
@ -693,6 +694,7 @@ function convertDockerRunToCompose(?string $custom_docker_run_options = null)
|
||||||
'--ip' => 'ip',
|
'--ip' => 'ip',
|
||||||
'--shm-size' => 'shm_size',
|
'--shm-size' => 'shm_size',
|
||||||
'--gpus' => 'gpus',
|
'--gpus' => 'gpus',
|
||||||
|
'--no-cache' => 'no_cache',
|
||||||
]);
|
]);
|
||||||
foreach ($matches as $match) {
|
foreach ($matches as $match) {
|
||||||
$option = $match[1];
|
$option = $match[1];
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue