mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-25 10:09:20 +03:00
Merge 2094e3965b into c154d23cfe
This commit is contained in:
commit
ef0a676517
1 changed files with 1 additions and 1 deletions
|
|
@ -244,7 +244,7 @@ else if ($options['docker']) {
|
||||||
$zip_filename = "snappymail-{$package->version}.zip";
|
$zip_filename = "snappymail-{$package->version}.zip";
|
||||||
copy($zip_destination, "./.docker/release/{$zip_filename}");
|
copy($zip_destination, "./.docker/release/{$zip_filename}");
|
||||||
if ($docker) {
|
if ($docker) {
|
||||||
passthru("{$docker} build --pull " . ROOT_DIR . "/.docker/release/ --build-arg FILES_ZIP={$zip_filename} -t snappymail:{$package->version}");
|
passthru("{$docker} build --pull -f " . ROOT_DIR . '/.docker/release/Dockerfile ' . ROOT_DIR . " --build-arg FILES_ZIP={$zip_filename} -t snappymail:{$package->version}");
|
||||||
} else {
|
} else {
|
||||||
echo "Docker not installed!\n";
|
echo "Docker not installed!\n";
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue