Use node alpine only

This commit is contained in:
Aarni Halinen
2019-01-15 19:59:29 +02:00
parent b98bbd2ee9
commit 066f87640f
2 changed files with 6 additions and 6 deletions
+5 -5
View File
@@ -10,31 +10,31 @@ cache:
- node_modules/ - node_modules/
setup: setup:
image: node image: node:alpine
stage: setup stage: setup
script: script:
- npm ci - npm ci
# test:unit: # test:unit:
# image: node # image: node:alpine
# stage: test # stage: test
# script: # script:
# - npm run test:unit # - npm run test:unit
# test:e2e: # test:e2e:
# image: node # image: node:alpine
# stage: test # stage: test
# script: # script:
# - npm run test:e2e # - npm run test:e2e
ts:lint: ts:lint:
image: node image: node:alpine
stage: lint stage: lint
script: script:
- npm run lint:ts - npm run lint:ts
sass:lint: sass:lint:
image: node image: node:alpine
stage: lint stage: lint
script: script:
- npm run lint:sass - npm run lint:sass
+1 -1
View File
@@ -1,4 +1,4 @@
FROM node FROM node:alpine
RUN apk add --no-cache libpng-dev gcc make g++ zlib-dev bash lcms2-dev autoconf automake libtool nasm RUN apk add --no-cache libpng-dev gcc make g++ zlib-dev bash lcms2-dev autoconf automake libtool nasm
WORKDIR /app WORKDIR /app