From 83bce52f096b66edba2a022c7585b4c45d327958 Mon Sep 17 00:00:00 2001 From: JustArchi Date: Tue, 25 Sep 2018 00:09:48 +0200 Subject: [PATCH] Use slim node base It looks like ASF-ui can compile just fine under slim package for now, we can always change to full when needed --- Dockerfile.Service.arm | 2 +- Dockerfile.Service.x64 | 2 +- Dockerfile.arm | 2 +- Dockerfile.x64 | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile.Service.arm b/Dockerfile.Service.arm index 9a1938b48..5039cefb6 100644 --- a/Dockerfile.Service.arm +++ b/Dockerfile.Service.arm @@ -1,4 +1,4 @@ -FROM node AS build-node +FROM node:slim AS build-node WORKDIR /app COPY ASF-ui . RUN echo "Node.js: $(node --version)" && \ diff --git a/Dockerfile.Service.x64 b/Dockerfile.Service.x64 index 09e426a0c..480dcbccb 100644 --- a/Dockerfile.Service.x64 +++ b/Dockerfile.Service.x64 @@ -1,4 +1,4 @@ -FROM node AS build-node +FROM node:slim AS build-node WORKDIR /app COPY ASF-ui . RUN echo "Node.js: $(node --version)" && \ diff --git a/Dockerfile.arm b/Dockerfile.arm index 66b2ac374..7e5eab74e 100644 --- a/Dockerfile.arm +++ b/Dockerfile.arm @@ -1,4 +1,4 @@ -FROM node AS build-node +FROM node:slim AS build-node WORKDIR /app COPY ASF-ui . RUN echo "Node.js: $(node --version)" && \ diff --git a/Dockerfile.x64 b/Dockerfile.x64 index 5d11b6de1..ea25ed93f 100644 --- a/Dockerfile.x64 +++ b/Dockerfile.x64 @@ -1,4 +1,4 @@ -FROM node AS build-node +FROM node:slim AS build-node WORKDIR /app COPY ASF-ui . RUN echo "Node.js: $(node --version)" && \