From a6ca2177c0775e23c61c91b2a1c7e360375eecd0 Mon Sep 17 00:00:00 2001 From: acooler15 Date: Wed, 12 Oct 2022 17:01:31 +0800 Subject: [PATCH] disables the warning about running commands as root/super use --- docker/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 7d65a4d..3184bf8 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -21,7 +21,8 @@ ENV USER_NAME='' \ Font_color_suffix="\\033[0m" \ Info="${Green}[信息]${Font}" \ OK="${Green}[OK]${Font}" \ - Error="${Red}[错误]${Font}" + Error="${Red}[错误]${Font}" \ + COMPOSER_ALLOW_SUPERUSER=1 WORKDIR /app