Commit 40d474f5 authored by rasha's avatar rasha

change image from docker to node

parent 75178ef8
Pipeline #18 failed with stages
in 9 seconds
pipeline:
build:
image: docker:latest
image: node:latest
commands: npm install
test:
image: docker:latest
image: node:latest
commands: npm run test
image: docker:latest
image: node:carbon
stages:
- build
......
# use the latest node LTS release
FROM docker:latest
FROM node:carbon
WORKDIR /usr/src/app
# copy package.json and package-lock.json and install packages. we do this
......
......@@ -4,7 +4,7 @@ pipeline {
agent {
docker {
image 'docker'
image 'node'
args '-u root'
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment