Skip to content

Commit

Permalink
更新docker版本
Browse files Browse the repository at this point in the history
  • Loading branch information
matyhtf committed Apr 16, 2022
1 parent 028bf19 commit 071c628
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions make.sh
Original file line number Diff line number Diff line change
Expand Up @@ -509,9 +509,9 @@ help() {
}

if [ "$1" = "docker-build" ] ;then
sudo docker build -t phpswoole/swoole_cli_os:1.1 .
sudo docker build -t phpswoole/swoole_cli_os:1.2 .
elif [ "$1" = "docker-bash" ] ;then
sudo docker run -it -v $ROOT:/work -v /home/htf/workspace/swoole:/work/ext/swoole phpswoole/swoole_cli_os:1.1 /bin/bash
sudo docker run -it -v $ROOT:/work -v /home/htf/workspace/swoole:/work/ext/swoole phpswoole/swoole_cli_os:1.2 /bin/bash
exit 0
elif [ "$1" = "all-library" ] ;then
make_all_library
Expand Down
2 changes: 1 addition & 1 deletion prepare.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

$p = new Preprocessor(__DIR__);
$p->setPhpSrcDir('/home/htf/soft/php-8.1.5');
$p->setDockerVersion('1.1');
$p->setDockerVersion('1.2');
$p->setSwooleDir('/home/htf/workspace/swoole');

$endCallback = function() {};
Expand Down

0 comments on commit 071c628

Please sign in to comment.