From 066f87640f48478667144ea489671d2963014f3e Mon Sep 17 00:00:00 2001 From: Aarni Halinen Date: Tue, 15 Jan 2019 19:59:29 +0200 Subject: [PATCH] Use node alpine only --- .gitlab-ci.yml | 10 +++++----- Dockerfile | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index bd79389..7e70320 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -10,31 +10,31 @@ cache: - node_modules/ setup: - image: node + image: node:alpine stage: setup script: - npm ci # test:unit: -# image: node +# image: node:alpine # stage: test # script: # - npm run test:unit # test:e2e: -# image: node +# image: node:alpine # stage: test # script: # - npm run test:e2e ts:lint: - image: node + image: node:alpine stage: lint script: - npm run lint:ts sass:lint: - image: node + image: node:alpine stage: lint script: - npm run lint:sass diff --git a/Dockerfile b/Dockerfile index 54b7b4c..b62377b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 WORKDIR /app