diff --git a/Dockerfile b/Dockerfile index 43e0ab9..333befa 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,9 @@ FROM crpi-1x701qgqjia2gdeu.cn-chengdu.personal.cr.aliyuncs.com/gitlink-help-center/gitlink-help-center:node-18-alpine LABEL maintainer="yuankaifneg <2894340009@qq.com>" +# 设置为root用户以安装系统依赖 +USER root + # 安装必要的系统依赖 RUN yum install -y \ git \