diff --git a/Dockerfile b/Dockerfile index 25ecaac3b..01b3d513b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -41,6 +41,7 @@ ARG TOOLS=" \ telnet \ unzip \ vim \ + git \ wget" ARG APT_MIRROR=http://mirrors.ustc.edu.cn diff --git a/Dockerfile.loong64 b/Dockerfile.loong64 index 0ed0c08ad..a4752fde5 100644 --- a/Dockerfile.loong64 +++ b/Dockerfile.loong64 @@ -41,6 +41,7 @@ ARG TOOLS=" \ telnet \ unzip \ vim \ + git \ wget" RUN --mount=type=cache,target=/var/cache/apt,sharing=locked,id=core \ diff --git a/jms b/jms index 91021767e..c75011edd 100755 --- a/jms +++ b/jms @@ -126,9 +126,9 @@ def download_ip_db(): def install_builtin_applets(): logging.info("Install builtin applets") try: - management.call_command('install_builtin_applets', verbosity=0, interactive=False) - except: - pass + management.call_command('install_builtin_applets', verbosity=0) + except Exception as e: + logging.error("Install builtin applets err: {}".format(e)) def upgrade_db():