Skip to content

Fast Node Manager dockerised for CI usage

License

Notifications You must be signed in to change notification settings

open-southeners/docker-fnm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker FNM

Fast Node Manager dockerised for CI or other edge usages.

Available in Docker Hub ci

Getting starter

Imagine that you simply have a .node-version file with 14 on its content, so your project will be constrained by this NodeJS version, and therefore this Docker container will automatically use this version (but it's not limited to, as it wraps FNM: read more here).

Standalone

docker run --rm -v $PWD/myapp:/work d8vjork/fnm fnm --help

Gitlab CI

build_publish:
  image: d8vjork/fnm
  script:
    - yarn install
    - yarn build
    - npm version --allow-same-version ${CI_COMMIT_TAG}
    - npm publish
    # More here... maybe?