Skip to content

Commit

Permalink
master delete: 407 fix error while deleting running container
Browse files Browse the repository at this point in the history
  • Loading branch information
daniwe4 authored and tbongers-cat committed Nov 16, 2023
1 parent 6fe1c5c commit 1de5bcf
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/App.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

class App extends Application
{
const NAME = "Doil Version 20231115 - build 2023-11-15";
const NAME = "Doil Version 20231116 - build 2023-11-16";

public function __construct(Command ...$commands)
{
Expand Down
1 change: 1 addition & 0 deletions app/src/Lib/Docker/DockerShell.php
Original file line number Diff line number Diff line change
Expand Up @@ -434,6 +434,7 @@ public function removeContainer(string $name) : void
$cmd = [
"docker",
"rm",
"-f",
$name
];

Expand Down
9 changes: 9 additions & 0 deletions setup/updates/update-20231116.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/usr/bin/env bash

source ${SCRIPT_DIR}/updates/update.sh

doil_update_20231116() {
cp ${SCRIPT_DIR}/../app/src/App.php /usr/local/lib/doil/app/src/
cp ${SCRIPT_DIR}/../app/src/Lib/Docker/DockerShell.php /usr/local/lib/doil/app/src/Lib/Docker/
return $?
}

0 comments on commit 1de5bcf

Please sign in to comment.