ci: 👷 test stretch slim

This commit is contained in:
AP 2020-05-19 09:05:54 +02:00
parent 0cda0679ae
commit af1e0e3e95
3 changed files with 18 additions and 18 deletions

View File

@ -1,13 +1,13 @@
# ----------------
# Install Dependencies
# ----------------
FROM node:12-alpine as build
FROM node:12.16-stretch-slim as build
# Install dependencies neccesary for node-gyp on node alpine
RUN apk add --update --no-cache \
python \
make \
g++
# RUN apk add --update --no-cache \
# python \
# make \
# g++
# Install app dependencies
COPY package.json .
@ -19,7 +19,7 @@ RUN npm install -D cross-env typescript @types/react @next/bundle-analyzer
# ---------------
# Build App
# ---------------
FROM node:12-alpine
FROM node:12.16-alpine
WORKDIR /app

View File

@ -1,13 +1,13 @@
# ----------------
# Install Dependencies
# ----------------
FROM arm32v7/node:12-alpine as build
FROM arm32v7/node:12.16-stretch-slim as build
# Install dependencies neccesary for node-gyp on node alpine
RUN apk add --update --no-cache \
python \
make \
g++
# RUN apk add --update --no-cache \
# python \
# make \
# g++
# Install app dependencies
COPY package.json .
@ -19,7 +19,7 @@ RUN npm install -D cross-env typescript @types/react @next/bundle-analyzer
# ---------------
# Build App
# ---------------
FROM arm32v7/node:12-alpine
FROM arm32v7/node:12.16-alpine
WORKDIR /app

View File

@ -1,13 +1,13 @@
# ----------------
# Install Dependencies
# ----------------
FROM arm64v8/node:12-alpine as build
FROM arm64v8/node:12.16-stretch-slim as build
# Install dependencies neccesary for node-gyp on node alpine
RUN apk add --update --no-cache \
python \
make \
g++
# RUN apk add --update --no-cache \
# python \
# make \
# g++
# Install app dependencies
COPY package.json .
@ -19,7 +19,7 @@ RUN npm install -D cross-env typescript @types/react @next/bundle-analyzer
# ---------------
# Build App
# ---------------
FROM arm64v8/node:12-alpine
FROM arm64v8/node:12.16-alpine
WORKDIR /app