更新.gitlab-ci.yml文件
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
default:
|
||||
image: node:13.11.0
|
||||
variables:
|
||||
USER: root # 所有 Job 默认使用 root
|
||||
image:
|
||||
name: node:13.11.0
|
||||
entrypoint: [""] # 清除镜像默认入口点
|
||||
user: root # 显式指定用户
|
||||
before_script:
|
||||
- echo '====== 准备构建中 ========='
|
||||
- ln -sf /srv/node-v13.11.0-linux-x64/bin/node /bin/node # 创建软链接到 bin 目录
|
||||
|
||||
Reference in New Issue
Block a user