Remove intermediary containers when building

4 jobs for master in 1 minute and 22 seconds
Status Job ID Name Coverage
  Build
failed #36
build

00:01:22

failed #35
build

00:01:00

failed #34
build

00:01:04

failed #31
build

00:01:14

 
Name Stage Failure
failed
build Build
npm ERR! 
npm
ERR! Failed at the tedimg@ build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2018-11-13T21_24_37_853Z-debug.log
Removing intermediate container d9971377be7c
The command '/bin/sh -c apk add --no-cache nodejs && npm install && npm run build && rm -rf node_modules && apk del nodejs' returned a non-zero code: 1
ERROR: Job failed: exit code 1