Makes sure that the user that Jenkins runs the image as can run npm commands without the annoying "Permission denied" errors.
- Node - 8
- npm - 5.3.0
- Angular CLI - 1.2.3
- Chrome (run in no-sandbox mode) - latest stable
- ANGULAR_CLI_VERSION - default: 1.2.3
- GID - default: 988
- UID - default: 406
First build it:
docker build --rm --no-cache --pull --tag "<YOUR-USERNAME>/docker-angular-jenkins" .
Then publish it:
docker push <YOUR-USERNAME>/docker-angular-jenkins