I am trying to install jq and bash in the default sast image provided by gitlab , below is the gitlab ci set up.
include:
- template: SAST.gitlab-ci.yml
eslint-sast:
stage: test
allow_failure: false
before_script:
- apk update && apk add jq bash
This works fine when its using the bandit sast , however when it is using the ESlint image , it gives me this error :
$ apk update && apk add jq bash ERROR: Unable to lock database: Permission denied ERROR: Failed to open apk database: Permission denied
How am i supposed to use apk inside this image ? thanks