Commit 9252cd8c authored by Pierre Smeyers's avatar Pierre Smeyers
Browse files

doc: warn default Docker image has to be changed

parent 2b6f0a3d
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -21,7 +21,7 @@ The Node.js template uses some global configuration used throughout all jobs.

| Name                | description                          | default value                                          |
| ------------------- | ------------------------------------ | ------------------------------------------------------ |
| `NODE_IMAGE`        | The Docker image used to run Node.js. **It is highly recommended to set the specific version your project needs** | `node:lts-alpine` |
| `NODE_IMAGE`        | The Docker image used to run Node.js <br/>:warning: **set the version required by your project** | `node:lts-alpine` |
| `NPM_CONFIG_REGISTRY` | NPM [registry](https://docs.npmjs.com/configuring-your-registry-settings-as-an-npm-enterprise-user) | _none_ |
| `NODE_PROJECT_DIR`  | Node project root directory          | `.` |
| `NODE_SOURCE_DIR`   | Sources directory                    | `src`                                                  |
@@ -267,6 +267,6 @@ To activate the NodeJsScan, you need to set some VARIABLES
| `NODEJSSCAN_IMAGE`    | njsscan image   | `opensecurity/njsscan:latest` |
| `NODEJSSCAN_ARGS`     | njsscan [arguments](https://github.com/ajinabraham/njsscan#command-line-options) | `-o reports/nodejsscan-report.txt` |

## Gitlab compatibility
## GitLab compatibility

:information_source: This template is actually tested and validated on GitLab Community Edition instance version 13.12.11
+1 −1
Original line number Diff line number Diff line
@@ -12,7 +12,7 @@
    },
    {
      "name": "NODE_IMAGE",
      "description": "The Docker image used to run Node.js - **it is highly recommended to set the specific version your project needs**",
      "description": "The Docker image used to run Node.js - **set the version required by your project**",
      "default": "node:lts-alpine"
    },
    {