Commit 33298576 authored by SBassett's avatar SBassett
Browse files

Hmm, this image defaults to user nobody, which can't do a few things. Can we...

Hmm, this image defaults to user nobody, which can't do a few things.  Can we user root, run apt and npm i, then user nobody?
parent b4795e50
Pipeline #1161 passed with stage
in 35 seconds
...@@ -9,9 +9,11 @@ auditjs_dependency_check: ...@@ -9,9 +9,11 @@ auditjs_dependency_check:
AUDITJS_OPTIONS: "ossi" AUDITJS_OPTIONS: "ossi"
before_script: before_script:
- user root
- apt-get update -yqq - apt-get update -yqq
- npm install -g auditjs - npm install -g auditjs
- npm install - npm install
- user nobody
# create a new package lock file, run auditjs # create a new package lock file, run auditjs
script: script:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment