fix: set USER root before system package installation
This commit is contained in:
parent
9042c56474
commit
5313d0a92d
|
|
@ -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 \
|
||||
|
|
|
|||
Loading…
Reference in New Issue