From a6d2ec60fe89ac5eb2bf272d7acde095e744051c Mon Sep 17 00:00:00 2001 From: "iVampireSP.com" Date: Wed, 8 Feb 2023 21:00:48 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E8=BF=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bin/update.sh | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 bin/update.sh diff --git a/bin/update.sh b/bin/update.sh new file mode 100755 index 0000000..51efe42 --- /dev/null +++ b/bin/update.sh @@ -0,0 +1,8 @@ +#!/bin/bash + +echo "Updating latte..." +docker pull ccr.ccs.tencentyun.com/laecloud/cafe:latte + +echo "Updating vendor..." +docker run -it --rm --init --net=host -v /opt/lae:/opt/lae ccr.ccs.tencentyun.com/laecloud/cafe:latte composer install --no-dev +