title: gitlab-ci with web pack: what image do I need?
body: <p>Our applications uses webpack. I need all my tests to run and artifacts to be created by web pack;</p>
  
  <p>In my package.json, "build" script is defined:</p>
  
  <pre><code>..
      "build": "webpack --config webpack.config.prod.js -p"
  ..
  </code></pre>
  
  <p>and this is my gitlab-ci.yml for now:</p>
  
  <p>image: iteamdev/node-webpack:latest</p>
  
  <pre><code>variables:
    NODE_ENV: "development" # required, because we need to install devDependencies
  
  stages:
    - build
  
  compile:
    stage: build
    script:
      - npm -v
      - npm install -qs # install all dependencies (and devDependencies)
      - npm run build # run webpack, set NODE_ENV=production
    artifacts:
      paths:
      - dist/
  </code></pre>
  
  <p>What options do I have for the "image"? Is the one i'm using good for my needs? Should I work with a specific version? </p>