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